diff options
-rw-r--r-- | perl-install/bootloader.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index b185a5263..9902a382a 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -276,7 +276,7 @@ sub add_kernel { symlinkf("initrd-$version.img", "$::prefix$initrd") or cp_af("$::prefix/boot/initrd-$version.img", "$::prefix$initrd"); } - my $label = $ext =~ /-(default)/ ? $1 : ($ext =~ /\d\./ ? sanitize_ver("linux-$version") : "linux$ext"); + my $label = $ext =~ /-(default)/ ? $1 : ($ext =~ /\d\./ && sanitize_ver("linux-$version") || "linux$ext"); #- more yaboot concessions - PPC if (arch() =~ /ppc/) { |