Author: arekm                        Date: Fri Aug 26 13:05:26 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 2; fix-info-dir fix

---- Files affected:
packages/chrony:
   chrony.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: packages/chrony/chrony.spec
diff -u packages/chrony/chrony.spec:1.5 packages/chrony/chrony.spec:1.6
--- packages/chrony/chrony.spec:1.5     Fri Aug 26 12:26:17 2011
+++ packages/chrony/chrony.spec Fri Aug 26 15:05:21 2011
@@ -2,7 +2,7 @@
 Summary:       An NTP client/server
 Name:          chrony
 Version:       1.26
-Release:       1
+Release:       2
 License:       GPL v2
 Group:         Daemons
 URL:           http://chrony.tuxfamily.org/
@@ -83,7 +83,7 @@
 %useradd -u 246 -d %{_localstatedir}/lib/ntp -g ntp -c "NTP Daemon" ntp
 
 %post
-/usr/sbin/fix-info-dir -c %{_infodir}
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} 
>/dev/null 2>&1
 /sbin/chkconfig --add chronyd
 %service chronyd restart
 
@@ -91,10 +91,10 @@
 if [ "$1" = "0" ]; then
        %service chronyd stop
        /sbin/chkconfig --del chronyd
-       /usr/sbin/fix-info-dir -c %{_infodir}
 fi
 
 %postun
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} 
>/dev/null 2>&1
 if [ "$1" = "0" ]; then
        %userremove ntp
        %groupremove ntp
@@ -129,6 +129,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2011/08/26 13:05:21  arekm
+- rel 2; fix-info-dir fix
+
 Revision 1.5  2011/08/26 10:26:17  arekm
 - up to 1.26
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/chrony/chrony.spec?r1=1.5&r2=1.6&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to