1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/distbin_ynh.git synced 2024-09-03 18:26:10 +02:00

Add remove temp file when application removed

This commit is contained in:
Yalh 2019-01-29 23:08:31 +01:00
parent 5d5de37abc
commit aaa1c700a3

View file

@ -113,6 +113,10 @@ fi
# Remove the log files # Remove the log files
ynh_secure_remove "/var/log/$app/" ynh_secure_remove "/var/log/$app/"
# remove tmp files
ynh_secure_remove "/tmp/*"
ynh_secure_remove "/var/tmp/*"
#================================================= #=================================================
# GENERIC FINALIZATION # GENERIC FINALIZATION
#================================================= #=================================================