From 8633c52a5b6de95625528e14d83a339338104561 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 29 Nov 2021 19:11:05 +0100 Subject: [PATCH] Fix ynh_exec_warn_less syntax following changes in 4.3 --- manifest.json | 2 +- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/manifest.json b/manifest.json index 371736a..53498f0 100644 --- a/manifest.json +++ b/manifest.json @@ -20,7 +20,7 @@ "email": "cecchetto.sylvain@me.com" }, "requirements": { - "yunohost": ">= 4.1" + "yunohost": ">= 4.3.0" }, "multi_instance": false, "services": [ diff --git a/scripts/install b/scripts/install index d40f91f..89f0798 100644 --- a/scripts/install +++ b/scripts/install @@ -105,7 +105,7 @@ echo tvheadend tvheadend/admin_password password $password | debconf-set-selecti echo tvheadend tvheadend/admin_username string $superuser | debconf-set-selections echo tvheadend tvheadend/last_notes note | debconf-set-selections -ynh_exec_warn_less DEBIAN_FRONTEND=noninteractive dpkg -i $tvheadend_deb_dst +DEBIAN_FRONTEND=noninteractive ynh_exec_warn_less dpkg -i $tvheadend_deb_dst ynh_secure_remove --file="$temp_folder" diff --git a/scripts/restore b/scripts/restore index 93c22ce..e4341a8 100644 --- a/scripts/restore +++ b/scripts/restore @@ -96,7 +96,7 @@ echo tvheadend tvheadend/admin_password password $password | debconf-set-selecti echo tvheadend tvheadend/admin_username string $superuser | debconf-set-selections echo tvheadend tvheadend/last_notes note | debconf-set-selections -ynh_exec_warn_less DEBIAN_FRONTEND=noninteractive dpkg -i $tvheadend_deb_dst +DEBIAN_FRONTEND=noninteractive ynh_exec_warn_less dpkg -i $tvheadend_deb_dst ynh_secure_remove --file="$temp_folder" diff --git a/scripts/upgrade b/scripts/upgrade index f3db238..e1d5c62 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -92,7 +92,7 @@ then #================================================= ynh_script_progression --message="Upgrading Tvheadend..." --weight=24 - ynh_exec_warn_less DEBIAN_FRONTEND=noninteractive dpkg --force-confold -i $tvheadend_deb_dst + DEBIAN_FRONTEND=noninteractive ynh_exec_warn_less dpkg --force-confold -i $tvheadend_deb_dst ynh_secure_remove --file="$temp_folder"