remove Python install files

This commit is contained in:
ducoterra
2018-09-16 23:04:15 -04:00
parent e695c08569
commit bb8b4eec51
2 changed files with 6 additions and 5 deletions

View File

@@ -117,6 +117,7 @@ if [ $? -ne 0 ] ; then
fi
cd /root/
rm Python-3.7.0.tar.xz >> $pylogloc
rm Python-3.7.0 >> $pylogloc
if [ $? -ne 0 ] ; then
echo -e "Failed to remove Python tar file. $pylogmsg"
fi
@@ -129,7 +130,7 @@ tput setaf 2
echo -e "Starting Django project"
tput setaf 0
adduser $user > /dev/null
adduser $user 1> /dev/null 2> /dev/null
if [ ! -d "/home/$user" ] ; then
mkdir /home/$user
chown -R $user:$user /home/$user