From 8054c497ef9dc15b930eb2e3de3ced90ff2afe31 Mon Sep 17 00:00:00 2001 From: ducoterra Date: Sun, 16 Sep 2018 23:09:54 -0400 Subject: [PATCH] fix issue with removing python install directory --- install.sh | 6 +++--- vars | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 31ea575..a0bd5b6 100755 --- a/install.sh +++ b/install.sh @@ -116,10 +116,10 @@ if [ $? -ne 0 ] ; then exit 1 fi cd /root/ -rm Python-3.7.0.tar.xz >> $pylogloc -rm Python-3.7.0 >> $pylogloc +rm Python-3.7.0.tar.xz 1>> $pylogloc 2>> $pylogloc +rm -rf Python-3.7.0 1>> $pylogloc 2>> $pylogloc if [ $? -ne 0 ] ; then - echo -e "Failed to remove Python tar file. $pylogmsg" + echo -e "Failed to remove Python install files. $pylogmsg" fi ################################################################################ diff --git a/vars b/vars index 03a7e99..92e8150 100644 --- a/vars +++ b/vars @@ -1,6 +1,9 @@ # django project settings export user="centos" export projectname="mysite" +# TODO: +# change hostname to an array: +# (hostname1.net hostname2.net hostname2.net) export hostname="centos.duco.net" export letsencrypt=False