aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-02-22 16:53:19 +0000
committerThierry Vignaud <tv@mandriva.org>2007-02-22 16:53:19 +0000
commit83cc25e1b135599cc16a6fa4b7079725d4808297 (patch)
treea5c4b86d57646b6a6fad708a9a6c325c38e1b03e
parenta8ed36109e0ef7e183b020c4ca2d2694d51414fb (diff)
downloadrpmdrake-83cc25e1b135599cc16a6fa4b7079725d4808297.tar
rpmdrake-83cc25e1b135599cc16a6fa4b7079725d4808297.tar.gz
rpmdrake-83cc25e1b135599cc16a6fa4b7079725d4808297.tar.bz2
rpmdrake-83cc25e1b135599cc16a6fa4b7079725d4808297.tar.xz
rpmdrake-83cc25e1b135599cc16a6fa4b7079725d4808297.zip
backport horrible selection bug fix
-rwxr-xr-xrpmdrake4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmdrake b/rpmdrake
index 7ead0af2..f081e201 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -775,10 +775,10 @@ sub run_treeview_dialog {
non_installed => sub { $pkgs = $h->{installable} },
#mandrake_choices => sub { $pkgs = },
all_updates => sub {
- my %pkgs = grep { my $p = $h->{installable}{$_}; $p->{pkg} && !$p->{selected} && $p->{pkg}->flag_installed && $p->{pkg}->flag_upgrade } keys %{$h->{installable}};
+ my @pkgs = grep { my $p = $h->{installable}{$_}; $p->{pkg} && !$p->{selected} && $p->{pkg}->flag_installed && $p->{pkg}->flag_upgrade } keys %{$h->{installable}};
$pkgs = {
(map { $_ => $h->{updates}->{$_} } keys %{$h->{updates}}),
- (map { $_ => $h->{installable}{$_} } keys %pkgs)
+ (map { $_ => $h->{installable}{$_} } @pkgs)
};
},
#security => sub { $pkgs = },