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:
parent
5d5de37abc
commit
aaa1c700a3
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue