SPECS: bind.spec - fixed path to named.conf in triggerpostun - rel...

hawk hawk at pld-linux.org
Mon Jun 18 17:31:42 CEST 2007


Author: hawk                         Date: Mon Jun 18 15:31:42 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed path to named.conf in triggerpostun
- release 6

---- Files affected:
SPECS:
   bind.spec (1.257 -> 1.258) 

---- Diffs:

================================================================
Index: SPECS/bind.spec
diff -u SPECS/bind.spec:1.257 SPECS/bind.spec:1.258
--- SPECS/bind.spec:1.257	Sat Jun 16 21:26:44 2007
+++ SPECS/bind.spec	Mon Jun 18 17:31:37 2007
@@ -23,7 +23,7 @@
 Summary(zh_CN.UTF-8):	Internet 域名服务器
 Name:		bind
 Version:	9.4.1
-Release:	5
+Release:	6
 Epoch:		6
 License:	BSD-like
 Group:		Networking/Daemons
@@ -450,8 +450,8 @@
 %postun	libs -p /sbin/ldconfig
 
 %triggerpostun -- %{name} < 6:9.4.1
-sed -i -e 's#^\([ \t]*category[ \t]\+cname[ \t]\+.*\)$#// \1#g' /etc/named.conf
-sed -i -e 's#^\([ \t]*category[ \t]\+response-checks[ \t]\+.*\)$#// \1#g' /etc/named.conf
+sed -i -e 's#^\([ \t]*category[ \t]\+cname[ \t]\+.*\)$#// \1#g' /var/lib/named/etc/named.conf
+sed -i -e 's#^\([ \t]*category[ \t]\+response-checks[ \t]\+.*\)$#// \1#g' /var/lib/named/etc/named.conf
 
 %files
 %defattr(644,root,root,755)
@@ -540,6 +540,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.258  2007/06/18 15:31:37  hawk
+- fixed path to named.conf in triggerpostun
+- release 6
+
 Revision 1.257  2007/06/16 19:26:44  areq
 - bcond without sql
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/bind.spec?r1=1.257&r2=1.258&f=u



More information about the pld-cvs-commit mailing list