summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm2
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) {