From d40c36b2cc9697f3906e46999c4b24bd3f4338fd Mon Sep 17 00:00:00 2001 From: scith Date: Tue, 6 Dec 2016 03:16:17 +0100 Subject: [PATCH] Fix upgrade --- scripts/upgrade | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index 0bce5a0..a3c07a5 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -41,8 +41,10 @@ app=$YNH_APP_INSTANCE_NAME # Migrate old apps if [ "$is_public" = "Yes" ]; then ynh_app_setting_set "$app" is_public "1" + is_public=$(ynh_app_setting_get "$app" is_public) elif [ "$is_public" = "No" ]; then ynh_app_setting_set "$app" is_public "0" + is_public=$(ynh_app_setting_get "$app" is_public) fi # If app is public, add url to SSOWat conf as skipped_uris