diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/bootloader.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 83a9bada1..23dcbc097 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -899,8 +899,6 @@ sub get_kernel_labels { @kernels_str = (@$kernel_24, @$other); } - $kernels_str[0]{ext} = ''; - my %labels; foreach (@kernels_str) { if ($labels{$_->{ext}}) { @@ -909,6 +907,9 @@ sub get_kernel_labels { $labels{$_->{ext}} = 1; } } + + $kernels_str[0]{ext} = ''; + @kernels_str; } |