1
0
Fork 0
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:
Yalh 2019-01-29 23:28:22 +01:00
parent 87069f3ba8
commit 85e26f5dcd

View file

@ -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/*"
#================================================= #=================================================