summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 aad6fd806..6d9b1047f 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -938,7 +938,7 @@ sub install_lilo {
write_lilo_conf($bootloader, $fstab, $hds);
- if (!$::testing && arch() !~ /ia64/) {
+ if (!$::testing && arch() !~ /ia64/ && $bootloader->{method} =~ /lilo/) {
log::l("Installing boot loader...");
my $error;
run_program::rooted($::prefix, "lilo", "2>", \$error) or die "lilo failed: $error";