Fix test for dev mode

This commit is contained in:
Deon George 2020-01-15 17:53:50 +11:00
parent fc50334ccf
commit c6f4d4835b

2
init
View File

@ -32,7 +32,7 @@ if [ "${role}" = "app" -a -e artisan ]; then
rm -f ${php}/bootstrap/cache/*.php rm -f ${php}/bootstrap/cache/*.php
chown -R www-data:www-data ${composer} chown -R www-data:www-data ${composer}
[ ! -d ${php}/vendor ] && mkdir -m 750 ${php}/vendor && chown www-data:www-data ${php}/vendor [ ! -d ${php}/vendor ] && mkdir -m 750 ${php}/vendor && chown www-data:www-data ${php}/vendor
if [ "${env}" == "dev" ]; then if [ "${env}" != "dev" ]; then
NODEV="--no-dev" NODEV="--no-dev"
fi fi