mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-21 15:42:31 -05:00
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:
parent
65bc4d8f4b
commit
82ebdbbc2e
1 changed files with 2 additions and 2 deletions
4
init.sh
4
init.sh
|
@ -97,7 +97,7 @@ npm install --production || error "${c_m}npm install --production$c_w exited wit
|
||||||
msg "Running: ${c_m}gulp --production"
|
msg "Running: ${c_m}gulp --production"
|
||||||
"$(npm bin)/gulp" --production || error "${c_m}gulp --production$c_w exited with an error status"
|
"$(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"
|
msg "Running: ${c_m}php artisan up"
|
||||||
php artisan up
|
php artisan up
|
||||||
}
|
fi
|
||||||
|
|
Loading…
Reference in a new issue