fix issue with removing python install directory

This commit is contained in:
ducoterra
2018-09-16 23:09:54 -04:00
parent bb8b4eec51
commit 8054c497ef
2 changed files with 6 additions and 3 deletions

View File

@@ -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
################################################################################

3
vars
View File

@@ -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