diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2002-08-05 20:30:36 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2002-08-05 20:30:36 +0000 |
commit | efd3bd6e805837decf92e2b38e1fe90c4596295f (patch) | |
tree | 661c989ce26657971e4c31769d360dfb0ee3e8b6 | |
parent | fa6a3236dad9217079a8e9f28315b06e6c96bdcd (diff) | |
download | rpmdrake-efd3bd6e805837decf92e2b38e1fe90c4596295f.tar rpmdrake-efd3bd6e805837decf92e2b38e1fe90c4596295f.tar.gz rpmdrake-efd3bd6e805837decf92e2b38e1fe90c4596295f.tar.bz2 rpmdrake-efd3bd6e805837decf92e2b38e1fe90c4596295f.tar.xz rpmdrake-efd3bd6e805837decf92e2b38e1fe90c4596295f.zip |
call parsehdlist with only available hdists
-rwxr-xr-x | rpmdrake | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -414,7 +414,8 @@ sub run_treeview_dialog { if ($entry =~ m|/|) { my $w = wait_msg(_("Please wait, searching in files...")); open SF, 'parsehdlist --fileswinfo --quiet ' . - join(' ', map { if_(!$_->{ignore}, "$urpm->{statedir}/$_->{hdlist} ") } @{$urpm->{media}}) . + join(' ', map { my $hdlist = "$urpm->{statedir}/$_->{hdlist}"; + if_(!$_->{ignore} && (-r $hdlist), "$hdlist ") } @{$urpm->{media}}) . ' |'; my $pkg; while (<SF>) { |