fix issue with removing python install directory
This commit is contained in:
@@ -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
|
||||
|
||||
################################################################################
|
||||
|
||||
Reference in New Issue
Block a user