]> git.pld-linux.org Git - packages/firewall-init.git/commitdiff
- 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 c25b28b0a1d3c68f376eb84e96ff8cde09629285..956dd43a4370c69de0b5c3cd99b52662648ec7ad 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.053805 seconds and 4 git commands to generate.