File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -189,14 +189,16 @@ if [[ "$RUN_SCRIPTS" == "1" ]] ; then
189189 fi
190190fi
191191
192- # Try auto install for composer
193- if [ -f " /var/www/html/composer.lock" ]; then
194- if [ " $APPLICATION_ENV " == " development" ]; then
195- composer global require hirak/prestissimo
196- composer install --working-dir=/var/www/html
197- else
198- composer global require hirak/prestissimo
199- composer install --no-dev --working-dir=/var/www/html
192+ if [ -z " $SKIP_COMPOSER " ]; then
193+ # Try auto install for composer
194+ if [ -f " /var/www/html/composer.lock" ]; then
195+ if [ " $APPLICATION_ENV " == " development" ]; then
196+ composer global require hirak/prestissimo
197+ composer install --working-dir=/var/www/html
198+ else
199+ composer global require hirak/prestissimo
200+ composer install --no-dev --working-dir=/var/www/html
201+ fi
200202 fi
201203fi
202204
You can’t perform that action at this time.
0 commit comments