Cleaned up code by a lot. Smaller file size....

This commit is contained in:
Maxim Stewart
2015-12-09 23:56:29 -06:00
parent 59fb8f8058
commit d19ee08fb6
2 changed files with 65 additions and 112 deletions

4
install.sh Normal file → Executable file
View File

@@ -5,13 +5,13 @@ clear
read -p "Please Press 1 to Install or 2 to Uninstall --> : " INPUT
if [ "$INPUT" == 1 ]; then
sudo cp shellMen /bin/
sudo chown root:root /bin/shellMen
sudo chown root:root /bin/shellMen
sudo chmod +x /bin/shellMen
elif [ "$INPUT" == 2 ]; then
sudo rm /bin/shellMen
elif [ "$INPUT" !== 1 ] || [ "$INPUT" !== 2 ] ; then
echo "Please type 1 or 2."
main
fi
fi
}
main