Added Lumen detection
This commit is contained in:
parent
81b970b53b
commit
a62d434cef
4
init
4
init
@ -74,8 +74,12 @@ if [ "${role}" = "app" -a -e artisan ]; then
|
|||||||
[ -n "${FORCE_PERMS}" -o "${env}" != "dev" -a -z "${SKIP_PERM}" ] && [ ${mp} -eq 0 ] && chmod g-w ${php}
|
[ -n "${FORCE_PERMS}" -o "${env}" != "dev" -a -z "${SKIP_PERM}" ] && [ ${mp} -eq 0 ] && chmod g-w ${php}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -e .lumen ]; then
|
||||||
|
echo "* Lumen detected..."
|
||||||
|
else
|
||||||
echo "* Caching configuration..."
|
echo "* Caching configuration..."
|
||||||
su www-data -s /bin/sh -c "(php artisan config:cache && php artisan route:cache && php artisan view:cache)"
|
su www-data -s /bin/sh -c "(php artisan config:cache && php artisan route:cache && php artisan view:cache)"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -r .migrate ]; then
|
if [ -r .migrate ]; then
|
||||||
echo "* Running migration..."
|
echo "* Running migration..."
|
||||||
|
Loading…
Reference in New Issue
Block a user