diff --git a/src/freedombone-utils-setup b/src/freedombone-utils-setup index ceec2cc8..3bab121c 100755 --- a/src/freedombone-utils-setup +++ b/src/freedombone-utils-setup @@ -358,11 +358,6 @@ function create_completion_file { fi } -function upgrade_installation { - # TODO - echo '' -} - function disable_nfs_insecure_locks { apt-get -yq install nfs-kernel-server if grep 'insecure_locks' /etc/exports; then @@ -618,9 +613,6 @@ function setup_utils { function_check check_system_type check_system_type - function_check upgrade_installation - upgrade_installation - function_check set_default_onion_domains set_default_onion_domains @@ -848,10 +840,10 @@ function upgrade_apps { do app_name=$(echo "${filename}" | awk -F '-app-' '{print $2}') - item_in_array "${app_name}" ${APPS_COMPLETED[@]} + item_in_array "${app_name}" "${APPS_COMPLETED[@]}" if [[ $? != 0 ]]; then function_check app_is_installed - if [[ $(app_is_installed $a) == "1" ]]; then + if [[ "$(app_is_installed $a)" == "1" ]]; then echo '' echo '' echo $"Upgrading $a"