diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2002-08-05 15:56:04 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2002-08-05 15:56:04 +0000 |
commit | 92490b82c62f807680a12a8229f99179eb7a2fdc (patch) | |
tree | 48b9904b90efaf3d4e5650a2ca5fa0f7687b8f79 | |
parent | 62471cb99df27cda5d7d90b75560b291747065aa (diff) | |
download | rpmdrake-92490b82c62f807680a12a8229f99179eb7a2fdc.tar rpmdrake-92490b82c62f807680a12a8229f99179eb7a2fdc.tar.gz rpmdrake-92490b82c62f807680a12a8229f99179eb7a2fdc.tar.bz2 rpmdrake-92490b82c62f807680a12a8229f99179eb7a2fdc.tar.xz rpmdrake-92490b82c62f807680a12a8229f99179eb7a2fdc.zip |
call parsehdlist only with the non ignored media
-rwxr-xr-x | rpmdrake | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |