mirror of
https://github.com/YunoHost-Apps/keeweb_ynh.git
synced 2024-09-03 19:26:33 +02:00
Fix upgrade
This commit is contained in:
parent
2eee26f75a
commit
d40c36b2cc
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue