summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2020-05-10 13:46:55 -0700
committerPatrick McLean <chutzpah@gentoo.org>2020-05-10 13:49:04 -0700
commit492d19bad85ff43e2ed8071cda6cc3a8cef0a452 (patch)
treebc11e3ed264bfe291531c790a0bd4e4ee6a637f3 /net-firewall/arptables/arptables-0.0.5-r1.ebuild
parentwww-apps/moodle: version bumps to 3.5.12 3.6.10 3.7.6 3.8.3 (diff)
downloadgentoo-492d19bad85ff43e2ed8071cda6cc3a8cef0a452.tar.gz
gentoo-492d19bad85ff43e2ed8071cda6cc3a8cef0a452.tar.bz2
gentoo-492d19bad85ff43e2ed8071cda6cc3a8cef0a452.zip
net-firewall/arptables-0.0.5-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>
Diffstat (limited to 'net-firewall/arptables/arptables-0.0.5-r1.ebuild')
-rw-r--r--net-firewall/arptables/arptables-0.0.5-r1.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-firewall/arptables/arptables-0.0.5-r1.ebuild b/net-firewall/arptables/arptables-0.0.5-r1.ebuild
index 6dc0f8f781c3..9bfd2df4fba0 100644
--- a/net-firewall/arptables/arptables-0.0.5-r1.ebuild
+++ b/net-firewall/arptables/arptables-0.0.5-r1.ebuild
@@ -45,7 +45,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 arptables symlinks to xtables-nft-multi before removal"
eselect arptables set xtables-nft-multi
else