From: Bill Erickson Date: Tue, 28 Oct 2014 14:58:55 +0000 (-0400) Subject: trusty: add no-database option X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=0158ca25428c8f74b44eb61ee17211f981f083f5;p=working%2Frandom.git trusty: add no-database option Signed-off-by: Bill Erickson --- 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