|
@ -1,7 +1,7 @@ |
|
|
#!/bin/bash |
|
|
#!/bin/bash |
|
|
|
|
|
|
|
|
# TigerOS script for the removal of unwanted major-specific packages |
|
|
# TigerOS script for the removal of unwanted major-specific packages |
|
|
#Author: Tim Zabel <tjz8659@rit.edu> |
|
|
|
|
|
|
|
|
# Author: Tim Zabel <tjz8659@rit.edu> |
|
|
|
|
|
|
|
|
# Check to see if the current user is root |
|
|
# Check to see if the current user is root |
|
|
if [ $EUID != 0 ] |
|
|
if [ $EUID != 0 ] |
|
@ -19,6 +19,7 @@ PS3='Please enter the major for the courses you wish to remove: ' |
|
|
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 |
|
|
|
|
|
# all commands here are done with the -y flag. Individual removals do not ask the user for permission beforehand |
|
|
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 |
|
|