rpms/anacron/devel anacron.spec,1.22,1.23

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Sep 29 12:17:23 UTC 2006


Author: mmaslano

Update of /cvs/dist/rpms/anacron/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv25656

Modified Files:
	anacron.spec 
Log Message:
Change spec file for bug #191410.



Index: anacron.spec
===================================================================
RCS file: /cvs/dist/rpms/anacron/devel/anacron.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- anacron.spec	11 Sep 2006 21:07:07 -0000	1.22
+++ anacron.spec	29 Sep 2006 12:17:21 -0000	1.23
@@ -68,7 +68,10 @@
 # The script is called "0anacron" to assure that it will be executed
 # _before_ all other scripts.
 
-anacron -u $i
+# Don't run anacron if this script is called by anacron.
+if [ ! -e /var/run/anacron.pid ]; then
+    anacron -u $i
+fi
 
 EOF
 chmod +x $RPM_BUILD_ROOT/etc/$i/0anacron




More information about the fedora-cvs-commits mailing list