|  | @@ -77,7 +77,7 @@ function mark_unselected_apps_as_removed {
 | 
	
		
			
			| 77 | 77 |      done
 | 
	
		
			
			| 78 | 78 |  }
 | 
	
		
			
			| 79 | 79 |  
 | 
	
		
			
			| 80 |  | -function app_expected_to_not_be_installed {
 | 
	
		
			
			|  | 80 | +function app_expected_to_be_installed {
 | 
	
		
			
			| 81 | 81 |      # is the given application expected to be installed by default?
 | 
	
		
			
			| 82 | 82 |      select_all_apps="$1"
 | 
	
		
			
			| 83 | 83 |      app_name="$2"
 | 
	
	
		
			
			|  | @@ -86,15 +86,15 @@ function app_expected_to_not_be_installed {
 | 
	
		
			
			| 86 | 86 |  
 | 
	
		
			
			| 87 | 87 |      if [[ "$select_all_apps" == "add-all" ]]; then
 | 
	
		
			
			| 88 | 88 |          if [[ "$app_name" == "vim"  ]]; then
 | 
	
		
			
			| 89 |  | -            echo "1"
 | 
	
		
			
			|  | 89 | +            echo "0"
 | 
	
		
			
			| 90 | 90 |              return
 | 
	
		
			
			| 91 | 91 |          fi
 | 
	
		
			
			| 92 | 92 |          if [[ $ONION_ONLY != 'no' && "$app_name" == "hubzilla"  ]]; then
 | 
	
		
			
			| 93 |  | -            echo "1"
 | 
	
		
			
			|  | 93 | +            echo "0"
 | 
	
		
			
			| 94 | 94 |              return
 | 
	
		
			
			| 95 | 95 |          fi
 | 
	
		
			
			| 96 | 96 |      fi
 | 
	
		
			
			| 97 |  | -    echo "0"
 | 
	
		
			
			|  | 97 | +    echo "1"
 | 
	
		
			
			| 98 | 98 |  }
 | 
	
		
			
			| 99 | 99 |  
 | 
	
		
			
			| 100 | 100 |  function show_apps {
 | 
	
	
		
			
			|  | @@ -107,7 +107,7 @@ function show_apps {
 | 
	
		
			
			| 107 | 107 |          if [[ ${APPS_INSTALLED[$app_index]} == "0" &&  "$select_all_apps" != "add-all" ]]; then
 | 
	
		
			
			| 108 | 108 |              applist="$applist $n $a off"
 | 
	
		
			
			| 109 | 109 |          else
 | 
	
		
			
			| 110 |  | -            if [[ $(app_expected_to_not_be_installed) == "1" ]]; then
 | 
	
		
			
			|  | 110 | +            if [[ $(app_expected_to_be_installed "$select_all_apps" "$a") == "0" ]]; then
 | 
	
		
			
			| 111 | 111 |                  applist="$applist $n $a off"
 | 
	
		
			
			| 112 | 112 |              else
 | 
	
		
			
			| 113 | 113 |                  applist="$applist $n $a on"
 |