summaryrefslogtreecommitdiff
path: root/system/clamav/doinst.sh
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2015-12-02 14:25:22 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-12-05 07:58:34 +0700
commit07f2cad306e430a6f96dfc087c11e2dbf8c60693 (patch)
tree5f576a36a2f81c26c52017574bc6c8219ded6184 /system/clamav/doinst.sh
parent7fd590d8e16446e4a12e0fef040ef7c195b45658 (diff)
downloadslackbuilds-07f2cad306e430a6f96dfc087c11e2dbf8c60693.tar.gz
system/clamav: Updated for version 0.99.
Check for libmilter availability Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/clamav/doinst.sh')
-rw-r--r--system/clamav/doinst.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/clamav/doinst.sh b/system/clamav/doinst.sh
index 4d177d91b4..6ee0edcffc 100644
--- a/system/clamav/doinst.sh
+++ b/system/clamav/doinst.sh
@@ -27,7 +27,7 @@ preserve_perms() {
preserve_perms etc/rc.d/rc.clamav.new
config etc/freshclam.conf.new
config etc/clamd.conf.new
-config etc/clamav-milter.conf.new
+[ -f etc/clamav-milter.conf.new ] && config etc/clamav-milter.conf.new
config etc/logrotate.d/clamav.new
# Remove new log if one is already present
config var/log/clamav/clamd.log.new ; rm -f var/log/clamav/clamd.log.new