Pull in updated init.sh and remove the space after function in the routes files

This commit is contained in:
Kevin MacMartin 2017-01-26 20:07:54 -05:00
parent 6985cc501c
commit 6ee1313bb7
4 changed files with 9 additions and 3 deletions

View file

@ -68,6 +68,12 @@ trap 'error "script killed"' SIGINT SIGQUIT
msg "Running: ${c_m}composer installl --no-dev" msg "Running: ${c_m}composer installl --no-dev"
composer install --no-interaction --no-dev || error "${c_m}composer install --no-interaction --no-dev$c_w exited with an error status" composer install --no-interaction --no-dev || error "${c_m}composer install --no-interaction --no-dev$c_w exited with an error status"
msg "Running: ${c_m}php artisan route:clear"
php artisan route:clear
msg "Running: ${c_m}php artisan view:clear"
php artisan view:clear
egrep -q '^CACHE_BUST=' .env || { egrep -q '^CACHE_BUST=' .env || {
msg "Adding the ${c_y}CACHE_BUST$c_w variable" msg "Adding the ${c_y}CACHE_BUST$c_w variable"
printf '\n%s\n' 'CACHE_BUST=' >> .env printf '\n%s\n' 'CACHE_BUST=' >> .env