summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2010-01-26 20:11:04 +0000
committerPascal Terjan <pterjan@mandriva.org>2010-01-26 20:11:04 +0000
commit94334b07635aa58d313be9888f4947887a0a9d19 (patch)
tree33f1c2e35f4dfc2cf8a48dba1589b7fa2aba6124 /perl-install/bootloader.pm
parentc448f23b16b804f4ba3db0da21efab0451f75f4e (diff)
downloaddrakx-94334b07635aa58d313be9888f4947887a0a9d19.tar
drakx-94334b07635aa58d313be9888f4947887a0a9d19.tar.gz
drakx-94334b07635aa58d313be9888f4947887a0a9d19.tar.bz2
drakx-94334b07635aa58d313be9888f4947887a0a9d19.tar.xz
drakx-94334b07635aa58d313be9888f4947887a0a9d19.zip
remove mnb from bootloader entry name like we do for mdv
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 5f75a748c..758d1d6b2 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -942,7 +942,7 @@ sub _sanitize_ver {
$name = join(' ', grep { $_ } $name, 'multimedia');
}
- $v =~ s!md[kv]$!!;
+ $v =~ s!(md[kv]|mnb)$!!;
$v =~ s!-0\.(pre|rc)(\d+)\.!$1$2-!;
my $return = join(' ', grep { $_ } $name, short_ext($kernel_str), $v);