From 0e593df4e6515e3f3d15c216488c3773738680be Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Mon, 15 Jun 2020 12:06:02 +0200 Subject: [PATCH] cleaning syntax unused and try upgrade version --- manifest.json | 2 +- scripts/_common.sh | 2 +- scripts/install | 8 ++------ scripts/upgrade | 2 -- 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/manifest.json b/manifest.json index 5424020..34c3f48 100644 --- a/manifest.json +++ b/manifest.json @@ -9,7 +9,7 @@ "en": "Software to manage association", "fr": "Logiciel libre de gestion d'association" }, - "version": "0.9.5~ynh3", + "version": "0.9.6~ynh3", "url": "http://garradin.eu/a-propos/", "license": "GPL-3.0-or-later", "maintainer": { diff --git a/scripts/_common.sh b/scripts/_common.sh index 05ab34a..2ec5196 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,7 +5,7 @@ #================================================= # dependencies used by the app -pkg_dependencies="php7.0-sqlite3" +pkg_dependencies="php-sqlite3" # ============= FUTURE YUNOHOST HELPER ============= diff --git a/scripts/install b/scripts/install index e059abf..ba784e1 100644 --- a/scripts/install +++ b/scripts/install @@ -54,12 +54,8 @@ ynh_app_setting_set --app=$app --key=path --value=$path_url #================================================= ynh_script_progression --message="Installing dependencies..." --time --weight=1 -if [ "$(lsb_release --codename --short)" != "jessie" ] -then - ynh_install_app_dependencies $pkg_dependencies -else - ynh_die --message="Votre version de Debian n'est pas compatible..." --time --weight=1 -fi +ynh_install_app_dependencies $pkg_dependencies + #================================================= # CREATE DEDICATED USER diff --git a/scripts/upgrade b/scripts/upgrade index 17b65c0..a764151 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -50,8 +50,6 @@ fi # is_public=$(ynh_app_setting_get --app=$app --key=is_public) if [ -n "$is_public" ]; then - # Remove unprotected_uris - ynh_app_setting_delete --app=$app --key=unprotected_uris # Remove protected_uris ynh_app_setting_delete --app=$app --key=protected_uris