Do not fail the postinst if chown/chmod are failing (Closes: #926237)

debian
Sylvestre Ledru 2021-10-23 16:29:25 +02:00
parent 13305db998
commit aa90ccba3f
2 changed files with 3 additions and 2 deletions

1
debian/changelog vendored
View File

@ -12,6 +12,7 @@ fail2ban (0.11.2-3) unstable; urgency=medium
* Fix the watch file
* Fix the roundcube debian custom path (Closes: #988323)
Thanks to Kurt Fitzner for the patch
* Do not fail the postinst if chown/chmod are failing (Closes: #926237)
-- Sylvestre Ledru <sylvestre@debian.org> Sat, 23 Oct 2021 16:09:47 +0200

4
debian/postinst vendored
View File

@ -25,8 +25,8 @@ case "$1" in
LOG=/var/log/fail2ban.log
touch $LOG
chown root:adm ${LOG}*
chmod 640 ${LOG}*
chown root:adm ${LOG}* || true
chmod 640 ${LOG}* || true
# Note regarding changed configuration file
# Note regarding changed configuration file