From c18f6f8e24d117055886c926bf9d1c7e588ed36a Mon Sep 17 00:00:00 2001 From: root Date: Tue, 25 Dec 2018 12:42:00 +0100 Subject: [PATCH] Updates in install scripts --- setup/functions | 2 -- setup/install-ubuntu1804-local.sh | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup/functions b/setup/functions index 72b73150..b42f4033 100644 --- a/setup/functions +++ b/setup/functions @@ -1,7 +1,5 @@ # This is not a standalone script. It provides common functions to server-*.sh scripts -hostType="$1" - case "$hostType" in centos7) hostTypeLabel="CentOS 7" diff --git a/setup/install-ubuntu1804-local.sh b/setup/install-ubuntu1804-local.sh index b8578b7b..77002917 100644 --- a/setup/install-ubuntu1804-local.sh +++ b/setup/install-ubuntu1804-local.sh @@ -3,8 +3,10 @@ set -e set -x +hostType=ubuntu1804 + SCRIPT_PATH=$(dirname $(realpath -s $0)) -. $SCRIPT_PATH/functions ubuntu1804 +. $SCRIPT_PATH/functions cd $SCRIPT_PATH/.. performInstallLocal "$#"