| 
				
			 | 
			
			
				@@ -202,11 +202,18 @@ function remove_apps { 
			 | 
		
	
		
			
			| 
				202
			 | 
			
				202
			 | 
			
			
				 } 
			 | 
		
	
		
			
			| 
				203
			 | 
			
				203
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				204
			 | 
			
				204
			 | 
			
			
				 function install_apps { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				205
			 | 
			
			
				+    is_interactive=$1 
			 | 
		
	
		
			
			| 
				205
			 | 
			
				206
			 | 
			
			
				     app_index=0 
			 | 
		
	
		
			
			| 
				206
			 | 
			
				207
			 | 
			
			
				     for a in "${APPS_AVAILABLE[@]}" 
			 | 
		
	
		
			
			| 
				207
			 | 
			
				208
			 | 
			
			
				     do 
			 | 
		
	
		
			
			| 
				208
			 | 
			
				209
			 | 
			
			
				         if [[ ${APPS_INSTALLED[$app_index]} == "0" ]]; then 
			 | 
		
	
		
			
			| 
				209
			 | 
			
				210
			 | 
			
			
				             if [[ ${APPS_CHOSEN[$app_index]} == "1" ]]; then 
			 | 
		
	
		
			
			| 
				
			 | 
			
				211
			 | 
			
			
				+                if [ ${is_interactive} ]; then 
			 | 
		
	
		
			
			| 
				
			 | 
			
				212
			 | 
			
			
				+                    # interactively obtain settings for this app 
			 | 
		
	
		
			
			| 
				
			 | 
			
				213
			 | 
			
			
				+                    if [[ $(function_exists install_interactive_${a}) == "1" ]]; then 
			 | 
		
	
		
			
			| 
				
			 | 
			
				214
			 | 
			
			
				+                        install_interactive_${a} 
			 | 
		
	
		
			
			| 
				
			 | 
			
				215
			 | 
			
			
				+                    fi 
			 | 
		
	
		
			
			| 
				
			 | 
			
				216
			 | 
			
			
				+                fi 
			 | 
		
	
		
			
			| 
				210
			 | 
			
				217
			 | 
			
			
				                 echo $"Installing application: ${a}" 
			 | 
		
	
		
			
			| 
				211
			 | 
			
				218
			 | 
			
			
				                 install_${a} 
			 | 
		
	
		
			
			| 
				212
			 | 
			
				219
			 | 
			
			
				                 echo $"${a} was installed" 
			 |