commit:     492d19bad85ff43e2ed8071cda6cc3a8cef0a452
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Sun May 10 20:46:55 2020 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Sun May 10 20:49:04 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=492d19ba

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 <AT> gentoo.org>

 net-firewall/arptables/arptables-0.0.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-firewall/arptables/arptables-0.0.5-r1.ebuild 
b/net-firewall/arptables/arptables-0.0.5-r1.ebuild
index 6dc0f8f781c..9bfd2df4fba 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

Reply via email to