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"