projects
/
gentoolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e17cf6
)
fixed 'equery belongs' for injected and metapackages
author
genone
<genone@gentoo.org>
Mon, 26 Jan 2004 17:30:05 +0000
(17:30 -0000)
committer
genone
<genone@gentoo.org>
Mon, 26 Jan 2004 17:30:05 +0000
(17:30 -0000)
svn path=/; revision=74
trunk/src/equery/equery
patch
|
blob
|
history
diff --git
a/trunk/src/equery/equery
b/trunk/src/equery/equery
index b94234ebbdb748ce20fb84102c612aeeba8611ff..3978ccf102825b0b9d6fccbe579bf98ec1229810 100755
(executable)
--- a/
trunk/src/equery/equery
+++ b/
trunk/src/equery/equery
@@
-203,6
+203,9
@@
class CmdListBelongs(Command):
found = 0
for pkg in matches:
+ # ignore meta ebuilds and injected packages
+ if not cnt:
+ continue
cnt = pkg.get_contents()
for file in cnt.keys():
if rx.search(file):