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:
parent
732de4d1e0
commit
ec1334bdf2
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue