From f934ccebd421de3a9f62d8a5aa1a685dc61aa5c7 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 13 Apr 2021 18:44:02 +0200 Subject: [PATCH] Cleaning up --- README.md | 4 ++-- README_fr.md | 4 ++-- check_process | 1 - manifest.json | 14 +------------- scripts/upgrade | 9 --------- 5 files changed, 5 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index d01fb48..d68cdee 100644 --- a/README.md +++ b/README.md @@ -36,8 +36,8 @@ Not supported. #### Supported architectures -* x86-64 - [![Build Status](https://ci-apps.yunohost.org/ci/logs/svgedit%20%28Apps%29.svg)](https://ci-apps.yunohost.org/ci/apps/svgedit/) -* ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/svgedit%20%28Apps%29.svg)](https://ci-apps-arm.yunohost.org/ci/apps/svgedit/) +* x86-64 - [![Build Status](https://ci-apps.yunohost.org/ci/logs/svgedit.svg)](https://ci-apps.yunohost.org/ci/apps/svgedit/) +* ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/svgedit.svg)](https://ci-apps-arm.yunohost.org/ci/apps/svgedit/) ## Limitations diff --git a/README_fr.md b/README_fr.md index a911388..7c3b983 100644 --- a/README_fr.md +++ b/README_fr.md @@ -36,8 +36,8 @@ Non supporté. #### Architectures supportées -* x86-64 - [![Build Status](https://ci-apps.yunohost.org/ci/logs/svgedit%20%28Apps%29.svg)](https://ci-apps.yunohost.org/ci/apps/svgedit/) -* ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/svgedit%20%28Apps%29.svg)](https://ci-apps-arm.yunohost.org/ci/apps/svgedit/) +* x86-64 - [![Build Status](https://ci-apps.yunohost.org/ci/logs/svgedit.svg)](https://ci-apps.yunohost.org/ci/apps/svgedit/) +* ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/svgedit.svg)](https://ci-apps-arm.yunohost.org/ci/apps/svgedit/) ## Limitations diff --git a/check_process b/check_process index 844aae7..75b6eb6 100644 --- a/check_process +++ b/check_process @@ -14,7 +14,6 @@ upgrade=1 backup_restore=1 multi_instance=1 - port_already_use=0 change_url=1 ;;; Options Email= diff --git a/manifest.json b/manifest.json index a1a3492..7c871f9 100644 --- a/manifest.json +++ b/manifest.json @@ -18,7 +18,7 @@ "name": "Luc Didry" }, "requirements": { - "yunohost": ">> 4.1.0" + "yunohost": ">> 4.1.7" }, "multi_instance": true, "services": [ @@ -29,29 +29,17 @@ { "name": "domain", "type": "domain", - "ask": { - "en": "Choose a domain name for SVG-edit", - "fr": "Choisissez un nom de domaine pour SVG-edit" - }, "example": "domain.org" }, { "name": "path", "type": "path", - "ask": { - "en": "Choose a path for SVG-edit", - "fr": "Choisissez un chemin pour SVG-edit" - }, "example": "/svgedit", "default": "/svgedit" }, { "name": "is_public", "type": "boolean", - "ask": { - "en": "Is it a public application?", - "fr": "Est-ce une application publique ?" - }, "default": true } ] diff --git a/scripts/upgrade b/scripts/upgrade index 26316a6..6b58d76 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -31,15 +31,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