summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/emerge4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/emerge b/bin/emerge
index 3ddd61c2a..9e1ac141e 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -1052,8 +1052,8 @@ class depgraph:
if "--usepkgonly" not in self.myopts:
# Remove any binary package entries that are masked in the portage tree (#55871)
myeb_pkg_matches = [pkg for pkg in myeb_pkg_matches \
- if pkg not in myeb_matches and \
- portdb.cpv_exists(pkg)]
+ if pkg in myeb_matches or \
+ not portdb.cpv_exists(pkg)]
myeb_pkg = portage.best(myeb_pkg_matches)
if not myeb_pkg: