summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2020-05-10 13:48:54 -0700
committerPatrick McLean <chutzpah@gentoo.org>2020-05-10 13:49:04 -0700
commit3e9bba7a60b57bb7e0ad0c8308828b322597a75e (patch)
tree0cfe65ec4a19e3449cdb11aa50345e87c86c0b68
parentnet-firewall/arptables-0.0.5-r1: Don't change provder on upgrades (diff)
downloadgentoo-3e9bba7a60b57bb7e0ad0c8308828b322597a75e.tar.gz
gentoo-3e9bba7a60b57bb7e0ad0c8308828b322597a75e.tar.bz2
gentoo-3e9bba7a60b57bb7e0ad0c8308828b322597a75e.zip
net-firewall/ebtables-2.0.11-r1: Don't change provder on upgrades
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
-rw-r--r--net-firewall/ebtables/ebtables-2.0.11-r1.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-firewall/ebtables/ebtables-2.0.11-r1.ebuild b/net-firewall/ebtables/ebtables-2.0.11-r1.ebuild
index 4090f230c800..038a8e1204cb 100644
--- a/net-firewall/ebtables/ebtables-2.0.11-r1.ebuild
+++ b/net-firewall/ebtables/ebtables-2.0.11-r1.ebuild
@@ -96,7 +96,7 @@ pkg_postinst() {
}
pkg_prerm() {
- if has_version 'net-firewall/iptables[nftables]'; then
+ if [[ -z ${REPLACED_BY_VERSION} ]] && has_version 'net-firewall/iptables[nftables]'; then
elog "Resetting ebtables symlinks to xtables-nft-multi before removal"
eselect ebtables set xtables-nft-multi
else