From a28696c751e11298403c272ec8484f1f167da1ed Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 11 Mar 2021 08:39:26 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 9 --------- 1 file changed, 9 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index db333d0..35285bd 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -31,15 +31,6 @@ upgrade_type=$(ynh_check_app_version_changed) #================================================= ynh_script_progression --message="Ensuring downward compatibility..." --weight=1 -# Fix is_public as a boolean value -if [ "$is_public" = "Yes" ]; then - ynh_app_setting_set --app=$app --key=is_public --value=1 - is_public=1 -elif [ "$is_public" = "No" ]; then - ynh_app_setting_set --app=$app --key=is_public --value=0 - is_public=0 -fi - # If final_path doesn't exist, create it if [ -z "$final_path" ]; then final_path=/var/www/$app