diff options
author | Francois Pons <fpons@mandriva.com> | 2000-07-19 14:04:12 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2000-07-19 14:04:12 +0000 |
commit | 0d15d7fceccfef8ac44cb50e00fbbc8c722df053 (patch) | |
tree | 0f2e963a77f3901082d6508fa3c1868ca7b20e03 | |
parent | cae78fa8e06fef034af572bd9f0b058eaaa07327 (diff) | |
download | drakx-0d15d7fceccfef8ac44cb50e00fbbc8c722df053.tar drakx-0d15d7fceccfef8ac44cb50e00fbbc8c722df053.tar.gz drakx-0d15d7fceccfef8ac44cb50e00fbbc8c722df053.tar.bz2 drakx-0d15d7fceccfef8ac44cb50e00fbbc8c722df053.tar.xz drakx-0d15d7fceccfef8ac44cb50e00fbbc8c722df053.zip |
*** empty log message ***
-rw-r--r-- | perl-install/bootloader.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index c7c134e76..ea9096264 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -270,12 +270,12 @@ wait %d seconds for default boot. #- manage hackkernel if installed. my $hasHack = -e "$prefix/boot/vmlinuz-hack"; if ($hasHack) { - my $hackVersion = first(readlink("$prefix/boot/vmlinuz-hack") =~ /vmlinux-(.*)/); + my $hackVersion = first(readlink("$prefix/boot/vmlinuz-hack") =~ /vmlinuz-(.*)/); add_kernel($prefix, $lilo, $hackVersion, 'hack', { label => 'hack', root => "/dev/$root", - }); + }) if $hackVersion; } if (arch() =~ /sparc/) { |