Update install.sh
This commit is contained in:
parent
dbe659ea22
commit
da47848c4b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue