aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-02-20 14:09:08 +0000
committerThierry Vignaud <tv@mandriva.org>2007-02-20 14:09:08 +0000
commit4c55acc0759a2768f52b5d10e2591e43fbe37647 (patch)
treeb47c74cf899ed9ba94438ebdf269d82bf33010a1 /Rpmdrake/gui.pm
parentf621a6716fac7f95e473db764a90f222871b30f3 (diff)
downloadrpmdrake-4c55acc0759a2768f52b5d10e2591e43fbe37647.tar
rpmdrake-4c55acc0759a2768f52b5d10e2591e43fbe37647.tar.gz
rpmdrake-4c55acc0759a2768f52b5d10e2591e43fbe37647.tar.bz2
rpmdrake-4c55acc0759a2768f52b5d10e2591e43fbe37647.tar.xz
rpmdrake-4c55acc0759a2768f52b5d10e2591e43fbe37647.zip
(pkgs_provider) fix an horrible bug
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 71dd5f0d..8209e0cf 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -400,10 +400,10 @@ sub pkgs_provider {
installed => sub { $pkgs = $h->{installed} },
non_installed => sub { $pkgs = $h->{installable} },
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)
};
},
);