1
0
Fork 0
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:
Yalh 2019-01-30 03:33:34 +01:00
parent 3b80708d78
commit 0c61595de7

View file

@ -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"