mirror of
https://github.com/YunoHost-Apps/wikijs_ynh.git
synced 2024-09-03 20:36:09 +02:00
Clean tmp files during remove
This commit is contained in:
parent
3b80708d78
commit
0c61595de7
1 changed files with 4 additions and 0 deletions
|
@ -61,6 +61,10 @@ ynh_remove_nodejs
|
|||
# REMOVE APP MAIN DIR
|
||||
#=================================================
|
||||
|
||||
# remove tmp files
|
||||
sudo -u $app rm -rf /tmp/*
|
||||
ynh_secure_remove "/var/tmp/*"
|
||||
|
||||
# Remove the app directory securely
|
||||
ynh_secure_remove "$final_path"
|
||||
|
||||
|
|
Loading…
Reference in a new issue