From 2eb0dbe1b5e9f96542c040d082e8c1b3cceca6d0 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 15 Mar 2021 09:49:47 +0100 Subject: [PATCH] remove is_public --- manifest.json | 2 +- scripts/upgrade | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/manifest.json b/manifest.json index 0cd0562..e66e73e 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "2048 game clone", "fr": "Clone du jeu 2048" }, - "version": "1.0~ynh4", + "version": "1.0~ynh5", "url": "https://github.com/hgentry/81/", "license": "MIT", "maintainer": { diff --git a/scripts/upgrade b/scripts/upgrade index f2eb89a..e3d475a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -30,15 +30,6 @@ upgrade_type=$(ynh_check_app_version_changed) #================================================= ynh_script_progression --message="Ensuring downward compatibility..." --weight=1 -# Fix is_public as a boolean value -if [ "$is_public" = "Yes" ]; then - ynh_app_setting_set --app=$app --key=is_public --value=1 - is_public=1 -elif [ "$is_public" = "No" ]; then - ynh_app_setting_set --app=$app --key=is_public --value=0 - is_public=0 -fi - # If final_path doesn't exist, create it if [ -z "$final_path" ]; then final_path=/var/www/$app