1
0
Fork 0
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:
scith 2016-12-06 03:16:17 +01:00
parent 2eee26f75a
commit d40c36b2cc

View file

@ -41,8 +41,10 @@ app=$YNH_APP_INSTANCE_NAME
# Migrate old apps # Migrate old apps
if [ "$is_public" = "Yes" ]; then if [ "$is_public" = "Yes" ]; then
ynh_app_setting_set "$app" is_public "1" ynh_app_setting_set "$app" is_public "1"
is_public=$(ynh_app_setting_get "$app" is_public)
elif [ "$is_public" = "No" ]; then elif [ "$is_public" = "No" ]; then
ynh_app_setting_set "$app" is_public "0" ynh_app_setting_set "$app" is_public "0"
is_public=$(ynh_app_setting_get "$app" is_public)
fi fi
# If app is public, add url to SSOWat conf as skipped_uris # If app is public, add url to SSOWat conf as skipped_uris