From f1cf637d858ec3c0039aaac3f8fc377ffa26b768 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 24 Mar 2004 15:38:26 +0000 Subject: fix extension parsing (vmlinuz-2.6.3-7mdksmp & vmlinuz-2.6.3-7mdkenterprise vs vmlinuz-2.6.3-7mdk-p3-smp-64GB & vmlinuz-2.6.3-7mdk-i686-up-4GB) --- perl-install/bootloader.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 49bd70ed1..6e08d3824 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -437,7 +437,7 @@ sub get_kernels_and_labels { grep { -d "$::prefix/lib/modules/$_->{complete_version}" } map { s/vmlinuz-//; - { complete_version => $_, /(.*mdk)(.*)/ ? (ext => $2, version => $1) : (version => $_) }; + { complete_version => $_, /(.*mdk)-?(.*)/ ? (ext => $2, version => $1) : (version => $_) }; } @kernels; if ($b_prefer_24) { -- cgit v1.2.1