From 391cfe7c244ce40c057784a02955436e4cdc754a Mon Sep 17 00:00:00 2001 From: saq Date: Thu, 26 Jul 2001 05:42:07 +0000 Subject: [PATCH] - reverting last change: removing new macros from %p{re,ost}{,un} Changed files: firewall-init-ipchains.spec -> 1.19 --- firewall-init-ipchains.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/firewall-init-ipchains.spec b/firewall-init-ipchains.spec index c25b28b..956dd43 100644 --- a/firewall-init-ipchains.spec +++ b/firewall-init-ipchains.spec @@ -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 -- 2.44.0