From ec1334bdf200498769567c0a9e8a6b5110664e78 Mon Sep 17 00:00:00 2001 From: Sylvain CECCHETTO Date: Thu, 16 Dec 2021 14:14:44 +0100 Subject: [PATCH] Fix /home/hts folder not deleted --- scripts/remove | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/remove b/scripts/remove index a319101..217b3de 100644 --- a/scripts/remove +++ b/scripts/remove @@ -73,7 +73,8 @@ ynh_remove_app_dependencies ynh_script_progression --message="Removing Tvheadend main directory and config files..." --weight=2 # Remove the app directory securely (/home/hts folder) -ynh_secure_remove --file="$final_path" +## Use rm -r because ynh_secure_remove says that /home/hts is not an acceptable path to delete +rm -r $final_path ynh_secure_remove --file="/etc/default/tvheadend" #=================================================