1 |
commit: 3e9bba7a60b57bb7e0ad0c8308828b322597a75e |
2 |
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 10 20:48:54 2020 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 10 20:49:04 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e9bba7a |
7 |
|
8 |
net-firewall/ebtables-2.0.11-r1: Don't change provder on upgrades |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
12 |
|
13 |
net-firewall/ebtables/ebtables-2.0.11-r1.ebuild | 2 +- |
14 |
1 file changed, 1 insertion(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/net-firewall/ebtables/ebtables-2.0.11-r1.ebuild b/net-firewall/ebtables/ebtables-2.0.11-r1.ebuild |
17 |
index 4090f230c80..038a8e1204c 100644 |
18 |
--- a/net-firewall/ebtables/ebtables-2.0.11-r1.ebuild |
19 |
+++ b/net-firewall/ebtables/ebtables-2.0.11-r1.ebuild |
20 |
@@ -96,7 +96,7 @@ pkg_postinst() { |
21 |
} |
22 |
|
23 |
pkg_prerm() { |
24 |
- if has_version 'net-firewall/iptables[nftables]'; then |
25 |
+ if [[ -z ${REPLACED_BY_VERSION} ]] && has_version 'net-firewall/iptables[nftables]'; then |
26 |
elog "Resetting ebtables symlinks to xtables-nft-multi before removal" |
27 |
eselect ebtables set xtables-nft-multi |
28 |
else |