Fix "Remove various files" step
ynh_secure_remove won't remove paths that end in a slash
This commit is contained in:
parent
da023a9e0e
commit
110876b57e
1 changed files with 2 additions and 2 deletions
|
@ -119,10 +119,10 @@ ynh_remove_fail2ban_config
|
|||
ynh_secure_remove --file="/etc/cron.d/$app"
|
||||
|
||||
# Remove a directory securely
|
||||
ynh_secure_remove --file="/etc/$app/"
|
||||
ynh_secure_remove --file="/etc/$app"
|
||||
|
||||
# Remove the log files
|
||||
ynh_secure_remove --file="/var/log/$app/"
|
||||
ynh_secure_remove --file="/var/log/$app"
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
|
|
Loading…
Reference in a new issue