From 82ebdbbc2e1940d1813ba2f23555ff10ccd1ea4f Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Fri, 24 Apr 2020 23:47:30 -0400 Subject: [PATCH] Use an if rather than an && for the artisan up of the init.sh script so it doesn't return a fail --- init.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.sh b/init.sh index 29600fd..fe1ad0e 100755 --- a/init.sh +++ b/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" "$(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