fix issue with removing python install directory
This commit is contained in:
@@ -116,10 +116,10 @@ if [ $? -ne 0 ] ; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
cd /root/
|
cd /root/
|
||||||
rm Python-3.7.0.tar.xz >> $pylogloc
|
rm Python-3.7.0.tar.xz 1>> $pylogloc 2>> $pylogloc
|
||||||
rm Python-3.7.0 >> $pylogloc
|
rm -rf Python-3.7.0 1>> $pylogloc 2>> $pylogloc
|
||||||
if [ $? -ne 0 ] ; then
|
if [ $? -ne 0 ] ; then
|
||||||
echo -e "Failed to remove Python tar file. $pylogmsg"
|
echo -e "Failed to remove Python install files. $pylogmsg"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|||||||
3
vars
3
vars
@@ -1,6 +1,9 @@
|
|||||||
# django project settings
|
# django project settings
|
||||||
export user="centos"
|
export user="centos"
|
||||||
export projectname="mysite"
|
export projectname="mysite"
|
||||||
|
# TODO:
|
||||||
|
# change hostname to an array:
|
||||||
|
# (hostname1.net hostname2.net hostname2.net)
|
||||||
export hostname="centos.duco.net"
|
export hostname="centos.duco.net"
|
||||||
export letsencrypt=False
|
export letsencrypt=False
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user