Browse Source

Added comment about -y flag. Fixed small indentation issues.

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

+ 2
- 1
scripts/removal View File

@ -1,7 +1,7 @@
#!/bin/bash
# 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
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")
select opt in "${options[@]}"
do
# all commands here are done with the -y flag. Individual removals do not ask the user for permission beforehand
case $opt in
"CS")
echo -e "Welcome to the TigerOS CS package removal script.\n

Loading…
Cancel
Save