Major refactor

This commit is contained in:
2022-01-24 22:32:31 -06:00
parent 80d8ccc2c9
commit 2c6df7c527
21 changed files with 397 additions and 257 deletions

20
old-bash-version/install.sh Executable file
View File

@@ -0,0 +1,20 @@
#!/bin/bash
main()
{
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 chmod +x /bin/shellMen
elif [[ "$INPUT" == 2 ]]; then
sudo rm /bin/shellMen
elif [[ "$INPUT" != 1 || "$INPUT" != 2 ]] ; then
echo "Please type 1 or 2."
sleep 2
main
fi
}
main