]> git.pld-linux.org Git - packages/gated.git/commitdiff
- use macros in %{pre,post}{,un}
authorsaq <saq@pld-linux.org>
Wed, 25 Jul 2001 16:30:44 +0000 (16:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- need rebuilt rpm (with new macros.pld) to build these

Changed files:
    gated.spec -> 1.11

gated.spec

index 1e238992f298cf7ec1e066a8e977269ff7bc87e8..00ce948af75324d0bb3cb3fee41168f414debd9c 100644 (file)
@@ -78,12 +78,10 @@ install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/gated.conf.sample
 
 %post
 /sbin/ldconfig
-/sbin/chkconfig --add gated
+%chkconfig_add
 
 %preun
-if [ $1 = 0 ] ; then
-        /sbin/chkconfig --del gated
-fi
+%chkconfig_del
 
 %files
 %defattr(644,root,root,755)
This page took 0.094354 seconds and 4 git commands to generate.