summaryrefslogtreecommitdiff
path: root/system/clamav
diff options
context:
space:
mode:
authorpyllyukko <pyllyukko@maimed.org>2013-01-20 16:35:06 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-02-05 22:39:03 -0600
commit42e1e1fc6fa58365851e71d441d25c7d77fb06fe (patch)
tree591acbb4590799b375f8acd223471eee51d6ce69 /system/clamav
parent977fa5040d6c3255e373925302f2317bd03656cf (diff)
downloadslackbuilds-42e1e1fc6fa58365851e71d441d25c7d77fb06fe.tar.gz
system/clamav: Another fix for the logrotate script.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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 4f098db9d0..c72373f432 100644
--- a/system/clamav/clamav.SlackBuild
+++ b/system/clamav/clamav.SlackBuild
@@ -28,7 +28,7 @@
PRGNAM=clamav
VERSION=${VERSION:-0.97.6}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
diff --git a/system/clamav/logrotate.clamav b/system/clamav/logrotate.clamav
index 0f9e3cfb9f..9a7c9e67b9 100644
--- a/system/clamav/logrotate.clamav
+++ b/system/clamav/logrotate.clamav
@@ -6,6 +6,7 @@
delaycompress
notifempty
missingok
+ create 0660 clamav clamav
postrotate
/bin/kill -HUP `cat /var/run/clamav/clamd.pid 2>/dev/null` 2>/dev/null || true
/bin/kill -HUP `cat /var/run/clamav/freshclam.pid 2>/dev/null` 2>/dev/null || true