diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-07-24 02:11:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-07-24 02:11:45 +0100 |
commit | b49088575eb777ced2551f484da86317332d6087 (patch) | |
tree | bf9a151cf2d61956340d555659ffc098ee1da466 /net-firewall/iptables/iptables-1.8.7.ebuild | |
parent | 514d1bbe260df2521fe60f1a3ec87cfcfde1a829 (diff) |
gentoo resync : 24.07.2021
Diffstat (limited to 'net-firewall/iptables/iptables-1.8.7.ebuild')
-rw-r--r-- | net-firewall/iptables/iptables-1.8.7.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net-firewall/iptables/iptables-1.8.7.ebuild b/net-firewall/iptables/iptables-1.8.7.ebuild index a6ba56cb3543..079e1fb2cbaf 100644 --- a/net-firewall/iptables/iptables-1.8.7.ebuild +++ b/net-firewall/iptables/iptables-1.8.7.ebuild @@ -155,8 +155,10 @@ pkg_postinst() { } pkg_prerm() { - elog "Unsetting iptables symlinks before removal" - eselect iptables unset + if [[ -z ${REPLACED_BY_VERSION} ]]; then + elog "Unsetting iptables symlinks before removal" + eselect iptables unset + fi if ! has_version 'net-firewall/ebtables'; then elog "Unsetting ebtables symlinks before removal" |