aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrpmdrake4
1 files changed, 3 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 31f32898..6ea99d4b 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -413,7 +413,9 @@ sub run_treeview_dialog {
my @search_results;
if ($entry =~ m|/|) {
my $w = wait_msg(_("Please wait, searching in files..."));
- open SF, "parsehdlist --fileswinfo --quiet $urpm->{statedir}/hdlist.* |";
+ open SF, 'parsehdlist --fileswinfo --quiet ' .
+ join(' ', map { if_(!$_->{ignore}, "$urpm->{statedir}/$_->{hdlist} ") } @{$urpm->{media}}) .
+ ' |';
my $pkg;
while (<SF>) {
/^NAME<([^>]+)> VERSION<([^>]+)> RELEASE<([^>]+)>/ and $pkg = "$1-$2-$3", next;