its 7am i havent slept i have no idea
This commit is contained in:
@@ -8,6 +8,21 @@ require_app_secret() {
|
||||
fi
|
||||
}
|
||||
|
||||
install_runtime() {
|
||||
if [ -f vendor/autoload_runtime.php ] && [ "${FORCE_COMPOSER_INSTALL:-0}" != "1" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
echo "Installing Composer dependencies..."
|
||||
su-exec www-data composer install \
|
||||
--no-dev \
|
||||
--prefer-dist \
|
||||
--no-interaction \
|
||||
--no-progress
|
||||
}
|
||||
|
||||
install_runtime
|
||||
|
||||
if [ -f bin/console ]; then
|
||||
require_app_secret
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user