forked from pool/iptables
run u-a before links are gone
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iptables?expand=0&rev=109
This commit is contained in:
parent
e3c936d24b
commit
778e2419ae
@ -178,7 +178,7 @@ update-alternatives \
|
||||
--slave "%_sbindir/ip6tables-restore" ip6tables-restore "%_sbindir/xtables-legacy-multi" \
|
||||
--slave "%_sbindir/ip6tables-save" ip6tables-save "%_sbindir/xtables-legacy-multi"
|
||||
|
||||
%postun
|
||||
%preun
|
||||
if test "$1" = 0; then
|
||||
update-alternatives --remove iptables "%_sbindir/xtables-legacy-multi"
|
||||
fi
|
||||
@ -198,7 +198,7 @@ update-alternatives --install "%_sbindir/ebtables" ebtables "%_sbindir/xtables-n
|
||||
--slave "%_sbindir/ebtables-restore" ebtables-restore "%_sbindir/xtables-nft-multi" \
|
||||
--slave "%_sbindir/ebtables-save" ebtables-save "%_sbindir/xtables-nft-multi"
|
||||
|
||||
%postun backend-nft
|
||||
%preun backend-nft
|
||||
if test "$1" = 0; then
|
||||
update-alternatives --remove iptables "%_sbindir/xtables-nft-multi"
|
||||
update-alternatives --remove arptables "%_sbindir/xtables-nft-multi"
|
||||
|
Loading…
Reference in New Issue
Block a user