Update then install

This commit is contained in:
Luke Murphy 2020-10-19 17:33:22 +02:00
parent b2d86119b1
commit 7da9a97788
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 3 additions and 3 deletions

View File

@ -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