Update install.sh

This commit is contained in:
Maxim 2015-04-09 16:31:12 -05:00
parent dbe659ea22
commit da47848c4b
1 changed files with 4 additions and 4 deletions

View File

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