From 304f63cbb6e00f5fd9e5cf96c78558486327089b Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Sat, 11 Jul 2015 02:43:33 -0400 Subject: [PATCH] Exit after creating the .env file so it can be edited before running the rest of the script --- init.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/init.sh b/init.sh index 518b66c..06770f5 100755 --- a/init.sh +++ b/init.sh @@ -47,6 +47,7 @@ trap 'error "script killed"' SIGINT SIGQUIT [[ ! -f .env ]] && { msg "Copying ${c_y}.env.example$c_w to ${c_y}.env$c_w with a randomly generated ${c_g}APP_KEY" sed 's|^APP_KEY=.*|APP_KEY='"$( .env + exit } msg "Running: ${c_m}composer installl --no-dev"