[clamav/el6] /var/clamav should be /var/lib/clamav (as it was somewhen in the past)
Robert Scheck
robert at fedoraproject.org
Sat Jun 30 23:25:16 UTC 2012
commit c732ee62430052119672ccaba84b9651bdd673ca
Author: Robert Scheck <robert at fedoraproject.org>
Date: Sun Jul 1 01:25:02 2012 +0200
/var/clamav should be /var/lib/clamav (as it was somewhen in the past)
clamav.spec | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/clamav.spec b/clamav.spec
index 56f5aa7..ee10cb8 100644
--- a/clamav.spec
+++ b/clamav.spec
@@ -253,14 +253,14 @@ fi
%pre
getent group clam >/dev/null || groupadd -r clam
getent passwd clam >/dev/null || \
-useradd -r -g clam -d /var/clamav -s /sbin/nologin \
+useradd -r -g clam -d /var/lib/clamav -s /sbin/nologin \
-c "Clam Anti Virus Checker" clam
exit 0
%pre -n clamd
getent group clam >/dev/null || groupadd -r clam
getent passwd clam >/dev/null || \
-useradd -r -g clam -d /var/clamav -s /sbin/nologin \
+useradd -r -g clam -d /var/lib/clamav -s /sbin/nologin \
-c "Clam Anti Virus Checker" clam
exit 0
@@ -291,7 +291,7 @@ fi
%pre db
getent group clam >/dev/null || groupadd -r clam
getent passwd clam >/dev/null || \
-useradd -r -g clam -d /var/clamav -s /sbin/nologin \
+useradd -r -g clam -d /var/lib/clamav -s /sbin/nologin \
-c "Clam Anti Virus Checker" clam
exit 0
More information about the scm-commits
mailing list