mirror of
https://github.com/YunoHost-Apps/distbin_ynh.git
synced 2024-09-03 18:26:10 +02:00
add force remove for no prompt on not owned files
This commit is contained in:
parent
87069f3ba8
commit
85e26f5dcd
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ fi
|
||||||
ynh_secure_remove "/var/log/$app/"
|
ynh_secure_remove "/var/log/$app/"
|
||||||
|
|
||||||
# remove tmp files
|
# remove tmp files
|
||||||
sudo -u $app rm -r /tmp/*
|
sudo -u $app rm -rf /tmp/*
|
||||||
ynh_secure_remove "/var/tmp/*"
|
ynh_secure_remove "/var/tmp/*"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue