From 6df509b6c08868ec41f31b800f57ddfa00807de6 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 15 Jan 2004 13:04:04 +0000 Subject: (lilo_choice) do not complaing about lilo faillure when we use another bootloader: just complain about the actually used bootloader --- perl-install/standalone/drakboot | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'perl-install/standalone') diff --git a/perl-install/standalone/drakboot b/perl-install/standalone/drakboot index 8aab8e1fb..41e4c6eb4 100755 --- a/perl-install/standalone/drakboot +++ b/perl-install/standalone/drakboot @@ -219,11 +219,10 @@ sub lilo_choice() { ask: eval { any::setupBootloader($in, $bootloader, $all_hds, $fstab, $ENV{SECURE_LEVEL}) }; - my $loader = arch() =~ /ppc/ ? "Yaboot" : "LILO"; my $err = $@; if ($err) { $in->ask_warn('', - [ N("Installation of %s failed. The following error occured:", $loader), $err ]); + [ N("Installation of %s failed. The following error occured:", bootloader::detect_bootloader()), $err ]); goto ask; } } -- cgit v1.2.1