SPECS: havp.spec - small fix

kosmo kosmo at pld-linux.org
Wed Apr 18 19:58:27 CEST 2007


Author: kosmo                        Date: Wed Apr 18 17:58:27 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- small fix

---- Files affected:
SPECS:
   havp.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/havp.spec
diff -u SPECS/havp.spec:1.1 SPECS/havp.spec:1.2
--- SPECS/havp.spec:1.1	Wed Apr 18 19:15:09 2007
+++ SPECS/havp.spec	Wed Apr 18 19:58:21 2007
@@ -24,6 +24,7 @@
 Requires(pre):	/usr/bin/getgid
 Requires(pre):	/usr/sbin/groupadd
 Requires(pre):	/usr/sbin/useradd
+Requires:	clamav
 Requires:	logrotate
 Provides:	group(havp)
 Provides:	user(havp)
@@ -77,8 +78,9 @@
 %useradd -u 215 -d /tmp -s /bin/false -c "HTTP Antivirus Proxy" -g havp havp
 
 if [ -n "`/usr/bin/getgid clamav`" ]; then
-    echo "Adding havp to clamav group."
+    echo "Adding clamav to havp group."
     /usr/sbin/usermod -G clamav havp 1>&2
+    %service clamd restart
 fi
 
 %post
@@ -137,6 +139,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/04/18 17:58:21  kosmo
+- small fix
+
 Revision 1.1  2007/04/18 17:15:09  kosmo
 - initial version
 - I hope there are all things ok
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/havp.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list