From fd3f15c4d08cd8f1412909ea3da82b50a47131a3 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 6 Oct 2004 01:09:47 +0000 Subject: fix regexp decompose_vmlinuz_name (broke with kernel vmlinuz-2.6.8.1-12.1mdk) --- 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 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) = @_; -- cgit v1.2.1