diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-10-06 01:09:47 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-10-06 01:09:47 +0000 |
commit | fd3f15c4d08cd8f1412909ea3da82b50a47131a3 (patch) | |
tree | 56530d30613e9e29927d03fb528cf81016113aa5 | |
parent | 2537376b06a3e764151cd20221d07fe101d54b59 (diff) | |
download | drakx-fd3f15c4d08cd8f1412909ea3da82b50a47131a3.tar drakx-fd3f15c4d08cd8f1412909ea3da82b50a47131a3.tar.gz drakx-fd3f15c4d08cd8f1412909ea3da82b50a47131a3.tar.bz2 drakx-fd3f15c4d08cd8f1412909ea3da82b50a47131a3.tar.xz drakx-fd3f15c4d08cd8f1412909ea3da82b50a47131a3.zip |
fix regexp decompose_vmlinuz_name (broke with kernel vmlinuz-2.6.8.1-12.1mdk)
-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 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) = @_; |