SPECS: syslog-ng.spec - nah, don't create the empty logs, i could have tota...

glen glen at pld-linux.org
Thu Feb 19 15:07:31 CET 2009


Author: glen                         Date: Thu Feb 19 14:07:31 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- nah, don't create the empty logs, i could have totally different config

---- Files affected:
SPECS:
   syslog-ng.spec (1.166 -> 1.167) 

---- Diffs:

================================================================
Index: SPECS/syslog-ng.spec
diff -u SPECS/syslog-ng.spec:1.166 SPECS/syslog-ng.spec:1.167
--- SPECS/syslog-ng.spec:1.166	Mon Feb  2 08:46:22 2009
+++ SPECS/syslog-ng.spec	Thu Feb 19 15:07:25 2009
@@ -140,12 +140,6 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-for n in /var/log/{daemon,debug,iptables,kernel,lpr,maillog,messages,secure,spooler,syslog,user,xferlog}; do
-	[ -f $n ] && continue
-	touch $n
-	chmod 640 $n
-done
-
 /sbin/chkconfig --add syslog-ng
 %service syslog-ng restart "syslog-ng daemon"
 
@@ -192,6 +186,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.167  2009/02/19 14:07:25  glen
+- nah, don't create the empty logs, i could have totally different config
+
 Revision 1.166  2009/02/02 07:46:22  arekm
 - release 10
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/syslog-ng.spec?r1=1.166&r2=1.167&f=u



More information about the pld-cvs-commit mailing list