summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-10-06 01:09:47 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-10-06 01:09:47 +0000
commitfd3f15c4d08cd8f1412909ea3da82b50a47131a3 (patch)
tree56530d30613e9e29927d03fb528cf81016113aa5 /perl-install/bootloader.pm
parent2537376b06a3e764151cd20221d07fe101d54b59 (diff)
downloaddrakx-backup-do-not-use-fd3f15c4d08cd8f1412909ea3da82b50a47131a3.tar
drakx-backup-do-not-use-fd3f15c4d08cd8f1412909ea3da82b50a47131a3.tar.gz
drakx-backup-do-not-use-fd3f15c4d08cd8f1412909ea3da82b50a47131a3.tar.bz2
drakx-backup-do-not-use-fd3f15c4d08cd8f1412909ea3da82b50a47131a3.tar.xz
drakx-backup-do-not-use-fd3f15c4d08cd8f1412909ea3da82b50a47131a3.zip
fix regexp decompose_vmlinuz_name (broke with kernel vmlinuz-2.6.8.1-12.1mdk)
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 24ddf7fb3..ff5fc4c70 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -25,7 +25,7 @@ use modules;
#- Functions
#-#####################################################################################
my $vmlinuz_regexp = 'vmlinuz|win4lin';
-my $decompose_vmlinuz_name = qr/((?:$vmlinuz_regexp).*)-(\d+\.\d+.*)/;
+my $decompose_vmlinuz_name = qr/((?:$vmlinuz_regexp).*?)-(\d+\.\d+.*)/;
sub expand_vmlinuz_symlink {
my ($vmlinuz) = @_;