We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2057ed7 commit 51e4c07Copy full SHA for 51e4c07
.warden/commands/bootstrap.cmd
@@ -172,7 +172,8 @@ if [[ ${CLEAN_INSTALL} ]] && [[ ! -f "${WARDEN_WEB_ROOT}/composer.json" ]]; then
172
fi
173
174
:: Installing dependencies
175
-warden env exec -T php-fpm composer global require hirak/prestissimo
+warden env exec -T php-fpm bash \
176
+ -c '[[ $(composer -V | cut -d\ -f3 | cut -d. -f1) == 2 ]] || composer global require hirak/prestissimo'
177
warden env exec -T php-fpm composer install
178
179
## import database only if --skip-db-import is not specified
0 commit comments