rpms/GFS/devel GFS.spec,1.7,1.8

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu May 5 15:56:35 UTC 2005


Author: cfeist

Update of /cvs/dist/rpms/GFS/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv18040

Modified Files:
	GFS.spec 
Log Message:
Don't startup init scripts on first install.


Index: GFS.spec
===================================================================
RCS file: /cvs/dist/rpms/GFS/devel/GFS.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- GFS.spec	26 Apr 2005 20:00:51 -0000	1.7
+++ GFS.spec	5 May 2005 15:56:33 -0000	1.8
@@ -13,7 +13,7 @@
 
 Name: GFS
 Version: 6.1
-Release: 0.pre22.1
+Release: 0.pre22.2
 License: GPL
 Group: System Environment/Kernel
 Summary: GFS - The Global File System
@@ -45,7 +45,10 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/sbin/chkconfig --add gfs
+if [ "$1" = 1 ]; then
+        /sbin/chkconfig --add gfs
+        /sbin/chkconfig gfs off
+fi
 
 if [ -z "`grep "^kernel\.panic_on_oops" /etc/sysctl.conf`" ]; then
   echo "" >> /etc/sysctl.conf




More information about the fedora-cvs-commits mailing list