Fix test for dev mode
This commit is contained in:
parent
fc50334ccf
commit
c6f4d4835b
2
init
2
init
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user