From 49948dd63735296dcbc3a93b4633e99fc36abe6c Mon Sep 17 00:00:00 2001 From: deajan Date: Tue, 2 Oct 2018 18:09:21 +0200 Subject: [PATCH] Fixed installer --- dev/common_install.sh | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/dev/common_install.sh b/dev/common_install.sh index fe60742..530deef 100755 --- a/dev/common_install.sh +++ b/dev/common_install.sh @@ -17,7 +17,7 @@ INSTANCE_ID="installer-$SCRIPT_BUILD" ## Tested on RHEL / CentOS 6 & 7, Fedora 23, Debian 7 & 8, Mint 17 and FreeBSD 8, 10 and 11 ## Please adapt this to fit your distro needs -include #### _OFUNCTIONS_BOOTSTRAP SUBSET #### +include #### OFUNCTIONS MICRO SUBSET #### # Get current install.sh path from http://stackoverflow.com/a/246128/2635443 SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" @@ -86,26 +86,9 @@ else LOG_FILE="./$PROGRAM-install.log" fi -## Default directory where to store temporary run files -if [ -w /tmp ]; then - RUN_DIR=/tmp -elif [ -w /var/tmp ]; then - RUN_DIR=/var/tmp -else - RUN_DIR=. -fi - -SCRIPT_PID=$$ - -include #### PoorMansRandomGenerator SUBSET #### - -TSTAMP=$(date '+%Y%m%dT%H%M%S').$(PoorMansRandomGenerator 4) - -include #### Logger SUBSET #### include #### UrlEncode SUBSET #### include #### GetLocalOS SUBSET #### include #### GetConfFileValue SUBSET #### -include #### CleanUp SUBSET #### function SetLocalOSSettings { USER=root