| 
						
						
						
					 | 
				
				 | 
				
					@ -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 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
 |