- reverting last change: removing new macros from %p{re,ost}{,un}
authorsaq <saq@pld-linux.org>
Thu, 26 Jul 2001 05:42:07 +0000 (05:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    firewall-init.spec -> 1.19

firewall-init.spec

index c25b28b..956dd43 100644 (file)
@@ -41,10 +41,12 @@ for i in input output forward; do
 done
 
 %post
-NAME=firewall; %chkconfig_add
+/sbin/chkconfig --add firewall
 
-%preun
-NAME=firewall; %chkconfig_del
+%postun
+if [ "$1" = "0" ]; then
+       /sbin/chkconfig --del firewall
+fi
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.0820689999999999 seconds and 4 git commands to generate.