Clean tmp files during remove
This commit is contained in:
parent
3b80708d78
commit
0c61595de7
@ -61,6 +61,10 @@ ynh_remove_nodejs
|
|||||||
# REMOVE APP MAIN DIR
|
# REMOVE APP MAIN DIR
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
|
# remove tmp files
|
||||||
|
sudo -u $app rm -rf /tmp/*
|
||||||
|
ynh_secure_remove "/var/tmp/*"
|
||||||
|
|
||||||
# Remove the app directory securely
|
# Remove the app directory securely
|
||||||
ynh_secure_remove "$final_path"
|
ynh_secure_remove "$final_path"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user