summaryrefslogtreecommitdiff
path: root/system/clamav
diff options
context:
space:
mode:
Diffstat (limited to 'system/clamav')
-rw-r--r--system/clamav/clamav.SlackBuild2
-rw-r--r--system/clamav/logrotate.clamav1
2 files changed, 2 insertions, 1 deletions
diff --git a/system/clamav/clamav.SlackBuild b/system/clamav/clamav.SlackBuild
index edbdd499fe..1bd047b7af 100644
--- a/system/clamav/clamav.SlackBuild
+++ b/system/clamav/clamav.SlackBuild
@@ -28,7 +28,7 @@
PRGNAM=clamav
VERSION=${VERSION:-0.97.5}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
diff --git a/system/clamav/logrotate.clamav b/system/clamav/logrotate.clamav
index 8154a8ba4e..29b860baa0 100644
--- a/system/clamav/logrotate.clamav
+++ b/system/clamav/logrotate.clamav
@@ -5,6 +5,7 @@
delaycompress
notifempty
missingok
+ su clamav clamav
postrotate
/bin/kill -HUP `cat /var/run/clamav/clamd.pid 2>/dev/null` 2>/dev/null || true
endscript