From c9d6b0a29ccb2f8867d72c10852f481439d5c333 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Wed, 12 Oct 2016 20:54:16 -0400 Subject: [PATCH] Run bower prune before running bower install in init.sh --- init.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.sh b/init.sh index fdb0217..09c6e94 100755 --- a/init.sh +++ b/init.sh @@ -73,8 +73,8 @@ php artisan migrate || error "${c_m}php artisan migrate$c_w exited with an error msg "Running: ${c_m}npm install" npm install --production || error "${c_m}npm install$c_w exited with an error status" -msg "Running: ${c_m}bower install" -bower install || error "${c_m}bower install$c_w exited with an error status" +msg "Running: ${c_m}bower prune && bower install" +bower prune && bower install || error "${c_m}bower prune && bower install$c_w exited with an error status" msg "Running: ${c_m}gulp --production" gulp --production || error "${c_m}gulp --production$c_w exited with an error status"