From 7da9a977883d5b6363b2d2f0d475a15fa622784b Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Mon, 19 Oct 2020 17:33:22 +0200 Subject: [PATCH] Update then install --- entrypoint.sh.tmpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/entrypoint.sh.tmpl b/entrypoint.sh.tmpl index 99dd43d..d01c37f 100755 --- a/entrypoint.sh.tmpl +++ b/entrypoint.sh.tmpl @@ -15,11 +15,11 @@ init_composer() { fi } -composer_update() { +composer_install() { set -eu if [ -n "$OPENID_ENABLED" ]; then - cd /var/www/html/ && composer update + cd /var/www/html/ && composer update && composer install fi } @@ -75,7 +75,7 @@ main() { init_db init_composer - composer_update + composer_install } main