From 59d5aa3418e3a12df924f5697cf2a067e59a1c70 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 14 May 2021 09:12:31 +0200 Subject: [PATCH] Set requirements to 4.2.4 --- check_process | 10 +++++----- manifest.json | 4 ++-- scripts/install | 2 -- scripts/upgrade | 2 -- 4 files changed, 7 insertions(+), 11 deletions(-) diff --git a/check_process b/check_process index 6cefd19..04f2a4b 100644 --- a/check_process +++ b/check_process @@ -1,11 +1,11 @@ ;; Test complet ; Manifest - domain="domain.tld" (DOMAIN) - path="/path" (PATH) - is_public=1 (PUBLIC|public=1|private=0) - admin="john" (USER) + domain="domain.tld" + path="/path" + is_public=1 + admin="john" password="pass" - port="4533" (PORT) + port="4533" ; Checks pkg_linter=1 setup_sub_dir=1 diff --git a/manifest.json b/manifest.json index e547507..71ffddb 100644 --- a/manifest.json +++ b/manifest.json @@ -6,14 +6,14 @@ "en": "Self-hosted remote torrent client", "fr": "Client torrent distant auto-hébergé" }, - "version": "1.2.23~ynh1", + "version": "1.2.23~ynh2", "url": "https://github.com/boypt/simple-torrent", "license": "AGPL-3.0-only", "maintainer": { "name": "eric_G" }, "requirements": { - "yunohost": ">= 4.1.7" + "yunohost": ">= 4.2.4" }, "multi_instance": true, "services": [ diff --git a/scripts/install b/scripts/install index 762d11a..a5a9dcc 100644 --- a/scripts/install +++ b/scripts/install @@ -119,8 +119,6 @@ ynh_add_config --template="../conf/config.default.json" --destination="$final_pa #================================================= ynh_script_progression --message="Configuring a systemd service..." --weight=1 -ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="../conf/systemd.service" - ynh_add_systemd_config #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 6c35fa6..86475bf 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -128,8 +128,6 @@ ynh_system_user_create --username=$app #================================================= ynh_script_progression --message="Configuring a systemd service..." --weight=2 -ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="../conf/systemd.service" - ynh_add_systemd_config #=================================================