aboutsummaryrefslogtreecommitdiffstats
path: root/bin/site-specific-install.sh
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-06-07 11:18:38 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-06-07 12:17:41 +0100
commitffbec97ee1b821119646df0ddd696c6317b9fa4b (patch)
tree3e0fe83d242976fb4cbfc904e78ad8af2ae1a1d5 /bin/site-specific-install.sh
parent660048ae58c9461b9816abdf06c5035626cc7e65 (diff)
Improve error handling of Vagrant installation.
It should now show a failure message on failure, rather than always show the success message, and not show a confusing error about general.yml if something went wrong before creating that file.
Diffstat (limited to 'bin/site-specific-install.sh')
-rw-r--r--bin/site-specific-install.sh12
1 files changed, 7 insertions, 5 deletions
diff --git a/bin/site-specific-install.sh b/bin/site-specific-install.sh
index 71bfc11ff..251c70e81 100644
--- a/bin/site-specific-install.sh
+++ b/bin/site-specific-install.sh
@@ -61,9 +61,11 @@ then
overwrite_rc_local
fi
-# Tell the user what to do next:
+if [ ! "$DEVELOPMENT_INSTALL" = true ]; then
+ # Tell the user what to do next:
-echo Installation complete - you should now be able to view the site at:
-echo http://$HOST/
-echo Or you can run the tests by switching to the "'$UNIX_USER'" user and
-echo running: $REPOSITORY/bin/run-tests t
+ echo Installation complete - you should now be able to view the site at:
+ echo http://$HOST/
+ echo Or you can run the tests by switching to the "'$UNIX_USER'" user and
+ echo running: $REPOSITORY/bin/run-tests t
+fi