From 01dace4609a3700ebc0fed8327ed47a2419d4d1d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 16 Jul 2006 20:47:53 +0000 Subject: [PATCH] Fix broken --usepkg masking logic for bug #140694. svn path=/main/trunk/; revision=3907 --- bin/emerge | 4 ++-- 1 file 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: -- 2.26.2