|  | @@ -358,11 +358,6 @@ function create_completion_file {
 | 
	
		
			
			| 358 | 358 |      fi
 | 
	
		
			
			| 359 | 359 |  }
 | 
	
		
			
			| 360 | 360 |  
 | 
	
		
			
			| 361 |  | -function upgrade_installation {
 | 
	
		
			
			| 362 |  | -    # TODO
 | 
	
		
			
			| 363 |  | -    echo ''
 | 
	
		
			
			| 364 |  | -}
 | 
	
		
			
			| 365 |  | -
 | 
	
		
			
			| 366 | 361 |  function disable_nfs_insecure_locks {
 | 
	
		
			
			| 367 | 362 |      apt-get -yq install nfs-kernel-server
 | 
	
		
			
			| 368 | 363 |      if grep 'insecure_locks' /etc/exports; then
 | 
	
	
		
			
			|  | @@ -618,9 +613,6 @@ function setup_utils {
 | 
	
		
			
			| 618 | 613 |      function_check check_system_type
 | 
	
		
			
			| 619 | 614 |      check_system_type
 | 
	
		
			
			| 620 | 615 |  
 | 
	
		
			
			| 621 |  | -    function_check upgrade_installation
 | 
	
		
			
			| 622 |  | -    upgrade_installation
 | 
	
		
			
			| 623 |  | -
 | 
	
		
			
			| 624 | 616 |      function_check set_default_onion_domains
 | 
	
		
			
			| 625 | 617 |      set_default_onion_domains
 | 
	
		
			
			| 626 | 618 |  
 | 
	
	
		
			
			|  | @@ -848,10 +840,10 @@ function upgrade_apps {
 | 
	
		
			
			| 848 | 840 |      do
 | 
	
		
			
			| 849 | 841 |          app_name=$(echo "${filename}" | awk -F '-app-' '{print $2}')
 | 
	
		
			
			| 850 | 842 |  
 | 
	
		
			
			| 851 |  | -        item_in_array "${app_name}" ${APPS_COMPLETED[@]}
 | 
	
		
			
			|  | 843 | +        item_in_array "${app_name}" "${APPS_COMPLETED[@]}"
 | 
	
		
			
			| 852 | 844 |          if [[ $? != 0 ]]; then
 | 
	
		
			
			| 853 | 845 |              function_check app_is_installed
 | 
	
		
			
			| 854 |  | -            if [[ $(app_is_installed $a) == "1" ]]; then
 | 
	
		
			
			|  | 846 | +            if [[ "$(app_is_installed $a)" == "1" ]]; then
 | 
	
		
			
			| 855 | 847 |                  echo ''
 | 
	
		
			
			| 856 | 848 |                  echo ''
 | 
	
		
			
			| 857 | 849 |                  echo $"Upgrading $a"
 |