From 627dc4ccb7fd5d30c72d0ca87c19c0f7701e3c2d Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 19 May 2021 02:06:46 +0200 Subject: [PATCH] Fix upgrade --- scripts/upgrade | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index b58b32a..989eb36 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -19,6 +19,7 @@ app=$YNH_APP_INSTANCE_NAME domain=$(ynh_app_setting_get --app=$app --key=domain) path_url=$(ynh_app_setting_get --app=$app --key=path) admin=$(ynh_app_setting_get --app=$app --key=admin) +is_public=$(ynh_app_setting_get --app="$app" --key=is_public) final_path=$(ynh_app_setting_get --app=$app --key=final_path) language=$(ynh_app_setting_get --app=$app --key=language) wiki_name=$(ynh_app_setting_get --app=$app --key=wiki_name) @@ -83,8 +84,6 @@ fi # Cleaning legacy permissions if ynh_legacy_permissions_exists; then ynh_legacy_permissions_delete_all - - ynh_app_setting_delete --app=$app --key=is_public fi #=================================================