1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tvheadend_ynh.git synced 2024-10-01 13:34:50 +02:00

Fix /home/hts folder not deleted

This commit is contained in:
Sylvain CECCHETTO 2021-12-16 14:14:44 +01:00
parent 732de4d1e0
commit ec1334bdf2

View file

@ -73,7 +73,8 @@ ynh_remove_app_dependencies
ynh_script_progression --message="Removing Tvheadend main directory and config files..." --weight=2 ynh_script_progression --message="Removing Tvheadend main directory and config files..." --weight=2
# Remove the app directory securely (/home/hts folder) # 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" ynh_secure_remove --file="/etc/default/tvheadend"
#================================================= #=================================================