mirror of
https://github.com/YunoHost-Apps/flarum_ynh.git
synced 2024-09-03 18:36:24 +02:00
[fix] secure remove tmp and log folders
This commit is contained in:
parent
8219a8bfb2
commit
a59bee8977
1 changed files with 2 additions and 2 deletions
|
@ -82,11 +82,11 @@ ynh_remove_logrotate
|
|||
#=================================================
|
||||
|
||||
# Remove a temp directory securely
|
||||
ynh_secure_remove --file="/tmp/$app/"
|
||||
ynh_secure_remove --file="/tmp/$app"
|
||||
ynh_secure_remove --file="/tmp/${app}backup"
|
||||
|
||||
# Remove the log files
|
||||
ynh_secure_remove --file="/var/log/$app/"
|
||||
ynh_secure_remove --file="/var/log/$app"
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
|
|
Loading…
Add table
Reference in a new issue