diff options
-rw-r--r-- | Rpmdrake/gui.pm | 4 |
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) }; }, ); |