diff --git a/scripts/upgrade b/scripts/upgrade index 0f720b9..96c1c3c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -68,6 +68,8 @@ if [ ! -z $is_public ]; then if [ "$is_public" = "1" ]; then ynh_permission_update --permission "main" --add "visitors" show_warning="1" + else + show_warning="0" fi ynh_app_setting_delete --app=$app --key=is_public fi