Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > 2a7c7a64c8bf1692db93e28a7c68613c > scriptlet

shorewall-4.4.19.1-3.2.mga1.noarch.rpm

PREUN

/bin/sh
/usr/share/rpm-helper/del-service shorewall $1 shorewall 
if [ $1 = 0 ] ; then
  /bin/rm -f /etc/shorewall/startup_disabled
  /bin/rm -f /var/lib/shorewall/*
fi

POSTIN

/bin/sh
if [ $1 > 1 ] ; then
  perl -pi -e 's#MODULE_SUFFIX=ko$#MODULE_SUFFIX="ko ko.gz"#' /etc/shorewall/shorewall.conf
fi

/usr/share/rpm-helper/add-service shorewall $1 shorewall 

/usr/share/rpm-helper/create-file shorewall $1 /var/lib/shorewall/chains root root 644 
/usr/share/rpm-helper/create-file shorewall $1 /var/lib/shorewall/nat root root 644 
/usr/share/rpm-helper/create-file shorewall $1 /var/lib/shorewall/proxyarp root root 644 
/usr/share/rpm-helper/create-file shorewall $1 /var/lib/shorewall/restarted root root 644 
/usr/share/rpm-helper/create-file shorewall $1 /var/lib/shorewall/zones root root 644 
/usr/share/rpm-helper/create-file shorewall $1 /var/lib/shorewall/restore-base root root 644 
/usr/share/rpm-helper/create-file shorewall $1 /var/lib/shorewall/restore-tail root root 644 
/usr/share/rpm-helper/create-file shorewall $1 /var/lib/shorewall/state root root 644 
/usr/share/rpm-helper/create-file shorewall $1 /var/lib/shorewall/.modules root root 644 
/usr/share/rpm-helper/create-file shorewall $1 /var/lib/shorewall/.modulesdir root root 644 
/usr/share/rpm-helper/create-file shorewall $1 /var/lib/shorewall/.iptables-restore-input root root 644 
/usr/share/rpm-helper/create-file shorewall $1 /var/lib/shorewall/.restart root root 700 
/usr/share/rpm-helper/create-file shorewall $1 /var/lib/shorewall/.restore root root 700 
/usr/share/rpm-helper/create-file shorewall $1 /var/lib/shorewall/.start root root 700