Add SKIP_COMPOSER flag
This commit is contained in:
@@ -189,14 +189,16 @@ if [[ "$RUN_SCRIPTS" == "1" ]] ; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# Try auto install for composer
|
||||
if [ -f "/var/www/html/composer.lock" ]; then
|
||||
if [ "$APPLICATION_ENV" == "development" ]; then
|
||||
composer global require hirak/prestissimo
|
||||
composer install --working-dir=/var/www/html
|
||||
else
|
||||
composer global require hirak/prestissimo
|
||||
composer install --no-dev --working-dir=/var/www/html
|
||||
if [ -z "$SKIP_COMPOSER" ]; then
|
||||
# Try auto install for composer
|
||||
if [ -f "/var/www/html/composer.lock" ]; then
|
||||
if [ "$APPLICATION_ENV" == "development" ]; then
|
||||
composer global require hirak/prestissimo
|
||||
composer install --working-dir=/var/www/html
|
||||
else
|
||||
composer global require hirak/prestissimo
|
||||
composer install --no-dev --working-dir=/var/www/html
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user