remove Python install files
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user