summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-07-19 14:04:12 +0000
committerFrancois Pons <fpons@mandriva.com>2000-07-19 14:04:12 +0000
commit0d15d7fceccfef8ac44cb50e00fbbc8c722df053 (patch)
tree0f2e963a77f3901082d6508fa3c1868ca7b20e03 /perl-install/bootloader.pm
parentcae78fa8e06fef034af572bd9f0b058eaaa07327 (diff)
downloaddrakx-backup-do-not-use-0d15d7fceccfef8ac44cb50e00fbbc8c722df053.tar
drakx-backup-do-not-use-0d15d7fceccfef8ac44cb50e00fbbc8c722df053.tar.gz
drakx-backup-do-not-use-0d15d7fceccfef8ac44cb50e00fbbc8c722df053.tar.bz2
drakx-backup-do-not-use-0d15d7fceccfef8ac44cb50e00fbbc8c722df053.tar.xz
drakx-backup-do-not-use-0d15d7fceccfef8ac44cb50e00fbbc8c722df053.zip
*** empty log message ***
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm4
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/) {