From 74a4c8cefe356e0e4a2ff67d7c00b7d68be107e3 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.spec -> 1.19 --- firewall-init.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/firewall-init.spec b/firewall-init.spec index c25b28b..956dd43 100644 --- a/firewall-init.spec +++ b/firewall-init.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.43.0