diff options
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r-- | perl-install/pkgs.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm index 060a48090..e3858e668 100644 --- a/perl-install/pkgs.pm +++ b/perl-install/pkgs.pm @@ -169,7 +169,7 @@ sub bestKernelPackage { my ($packages) = @_; my $best; - foreach ($packages->{provides}{kernel}) { + foreach (keys %{$packages->{provides}{kernel}}) { my $pkg = $packages->{depslist}[$_] or next; $pkg->name =~ /kernel-\d/ or next; !$best || $pkg->compare_pkg($best) > 0 and $best = $pkg; |