Browse Source

Fixed indentation and spacing in removal.

website
Tim Zabel 7 years ago
parent
commit
7bed8b1b5e
1 changed files with 11 additions and 9 deletions
  1. +11
    -9
      scripts/removal

+ 11
- 9
scripts/removal View File

@ -9,13 +9,11 @@ then
echo "Please run this script as root (sudo $@$0)." echo "Please run this script as root (sudo $@$0)."
exit exit
fi fi
echo
echo -e "Welcome to the TigerOS package removal script.\n echo -e "Welcome to the TigerOS package removal script.\n
This script will remove all files and packages installed for a specific major." This script will remove all files and packages installed for a specific major."
echo -e "\n"
sleep 5;
PS3='Please enter the major for the courses you wish to remove: '
echo
PS3='Please enter a number: '
options=("CS" "IT/WMC" "NSSA/CIT" "SE" "Quit") options=("CS" "IT/WMC" "NSSA/CIT" "SE" "Quit")
select opt in "${options[@]}" select opt in "${options[@]}"
do do
@ -23,7 +21,8 @@ do
case $opt in case $opt in
"CS") "CS")
echo -e "Welcome to the TigerOS CS package removal script.\n echo -e "Welcome to the TigerOS CS package removal script.\n
This script will remove Intellij idea, PyCharm, prolog, racket, and JFLAP from your machine."
This script will remove Intellij idea, PyCharm, prolog, racket, and JFLAP from your machine."
echo
while true; do while true; do
read -p "Do you wish to continue? [y/n] " yn read -p "Do you wish to continue? [y/n] " yn
case $yn in case $yn in
@ -41,7 +40,8 @@ do
;; ;;
"IT/WMC") "IT/WMC")
echo -e "Welcome to the TigerOS IT/WMC package removal script.\n echo -e "Welcome to the TigerOS IT/WMC package removal script.\n
This script will remove mysql, mongodb, subversion, filezilla, and nodejs from your machine."
This script will remove mysql, mongodb, subversion, filezilla, and nodejs from your machine."
echo
while true; do while true; do
read -p "Do you wish to continue? [y/n] " yn read -p "Do you wish to continue? [y/n] " yn
case $yn in case $yn in
@ -57,7 +57,8 @@ do
;; ;;
"NSSA/CIT") "NSSA/CIT")
echo -e "Welcome to the TigerOS NSSA/CIT package removal script.\n echo -e "Welcome to the TigerOS NSSA/CIT package removal script.\n
This script will remove wireshark, python 2.7, and python 3 from your machine."
This script will remove wireshark, python 2.7, and python 3 from your machine."
echo
while true; do while true; do
read -p "Do you wish to continue [y/n] " yn read -p "Do you wish to continue [y/n] " yn
case $yn in case $yn in
@ -71,7 +72,8 @@ do
;; ;;
"SE" ) "SE" )
echo -e "Welcome to the TigerOS Software Engineering removal script.\n echo -e "Welcome to the TigerOS Software Engineering removal script.\n
This script will remove ruby, eclipse, Spin, sqlite3 and MIT Alloy from your machine."
This script will remove ruby, eclipse, Spin, sqlite3 and MIT Alloy from your machine."
echo
while true; do while true; do
read -p "Do you wish to continue? [y/n] " yn read -p "Do you wish to continue? [y/n] " yn
case $yn in case $yn in

Loading…
Cancel
Save