Use an if rather than an && for the artisan up of the init.sh script so it doesn't return a fail

This commit is contained in:
Kevin MacMartin 2020-04-24 23:47:30 -04:00
parent 65bc4d8f4b
commit 82ebdbbc2e

View file

@ -97,7 +97,7 @@ npm install --production || error "${c_m}npm install --production$c_w exited wit
msg "Running: ${c_m}gulp --production"
"$(npm bin)/gulp" --production || error "${c_m}gulp --production$c_w exited with an error status"
(( artisan_down )) && {
if (( artisan_down )); then
msg "Running: ${c_m}php artisan up"
php artisan up
}
fi