iptables.prerm: change cleanup order
Deal first with update-alternatives, then do the symlink cleanup.
This avoids errors like this:
Removing iptables (1.8.2-2) ...
update-alternatives: warning: forcing reinstallation of alternative
/usr/sbin/iptables-nft because link group iptables is broken
update-alternatives: warning: forcing reinstallation of alternative
/usr/sbin/ip6tables-nft because link group ip6tables is broken
Signed-off-by: Arturo Borrero Gonzalez <arturo@debian.org>
Please register or sign in to comment