rpms/flumotion/devel flumotion.spec,1.6,1.7

Thomas Vander Stichele (thomasvs) fedora-extras-commits at redhat.com
Sun Sep 3 15:05:41 UTC 2006


Author: thomasvs

Update of /cvs/extras/rpms/flumotion/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1430/devel

Modified Files:
	flumotion.spec 
Log Message:
fix chkconfig --del use for a later rebuild


Index: flumotion.spec
===================================================================
RCS file: /cvs/extras/rpms/flumotion/devel/flumotion.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- flumotion.spec	18 Jun 2006 10:30:14 -0000	1.6
+++ flumotion.spec	3 Sep 2006 15:05:41 -0000	1.7
@@ -175,7 +175,6 @@
 fi
 
 %preun
-/sbin/chkconfig --del flumotion
 # if removal and not upgrade, stop the processes, clean up locks
 if [ $1 -eq 0 ]
 then
@@ -183,6 +182,7 @@
 
   rm -rf %{_localstatedir}/lock/flumotion*
   rm -rf %{_localstatedir}/run/flumotion*
+  /sbin/chkconfig --del flumotion
 fi
 
 # Think about this first, we don't really want to stop everything
@@ -226,6 +226,9 @@
 %{_sysconfdir}/rc.d/init.d/flumotion
 
 %changelog
+* Sun Sep 03 2006 Thomas Vander Stichele <thomas at apestaart dot org>
+- move chkconfig --del to within the if
+
 * Sun Jun 18 2006 Thomas Vander Stichele <thomas at apestaart dot org>
 - 0.2.2-2
 - only create default worker if there is not /etc/flumotion/workers




More information about the scm-commits mailing list