diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-03-24 15:38:26 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-03-24 15:38:26 +0000 |
commit | f1cf637d858ec3c0039aaac3f8fc377ffa26b768 (patch) | |
tree | f908a10bacf549934e2b6e70d52840c87d20648e /perl-install | |
parent | 48d8ebf529f1b1c35babaf393b3066195bd6b07b (diff) | |
download | drakx-f1cf637d858ec3c0039aaac3f8fc377ffa26b768.tar drakx-f1cf637d858ec3c0039aaac3f8fc377ffa26b768.tar.gz drakx-f1cf637d858ec3c0039aaac3f8fc377ffa26b768.tar.bz2 drakx-f1cf637d858ec3c0039aaac3f8fc377ffa26b768.tar.xz drakx-f1cf637d858ec3c0039aaac3f8fc377ffa26b768.zip |
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)
Diffstat (limited to 'perl-install')
-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 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) { |