diff --git a/scripts/upgrade b/scripts/upgrade index f08e38e..a8aa7eb 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -59,9 +59,8 @@ ynh_abort_if_errors #================================================= ynh_script_progression --message="Ensuring downward compatibility..." -is_public=$(ynh_app_setting_get --app=$app --key=is_public) # Remove is_public -if [ -n "$is_public" ]; then +if [ -n "$(ynh_app_setting_get --app=$app --key=is_public)" ]; then ynh_app_setting_delete --app=$app --key=is_public fi