From 0158ca25428c8f74b44eb61ee17211f981f083f5 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 28 Oct 2014 10:58:55 -0400 Subject: [PATCH] trusty: add no-database option Signed-off-by: Bill Erickson --- installer/trusty/eg_trusty_installer.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/installer/trusty/eg_trusty_installer.sh b/installer/trusty/eg_trusty_installer.sh index 3f003da89..7a75b5506 100755 --- a/installer/trusty/eg_trusty_installer.sh +++ b/installer/trusty/eg_trusty_installer.sh @@ -14,7 +14,7 @@ # GNU General Public License for more details. # ----------------------------------------------------------------------- -while getopts aystb option +while getopts aystbd option do case "${option}" in @@ -23,6 +23,7 @@ do s) SAMPLEDATA=--load-all-sample;; t) LIVETEST=1;; b) NO_BROWSER=1;; + d) NO_DATABASE=1;; esac done @@ -236,6 +237,10 @@ function evergreen_prereqs { } function evergreen_db_prereqs { + if [ "$NO_DATABASE" == 1 ]; then + echo "_.-~= Skipping Evergreen database pre-requisites" + return; + fi; echo _.-~= Installing Evergreen database pre-requisites date if [ $YES ]; then @@ -428,6 +433,10 @@ function install_evergreen { } function configure_database { + if [ "$NO_DATABASE" == 1 ]; then + echo "_.-~= Skipping configure database" + return; + fi; echo _.-~= configure database date if [ $YES ]; then -- 2.11.0