summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakboot
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-15 13:04:04 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-15 13:04:04 +0000
commit6df509b6c08868ec41f31b800f57ddfa00807de6 (patch)
treed2b1602aaa4f8a4acdaecfdb244a52a4e5b1e152 /perl-install/standalone/drakboot
parentf171268f41ed727d069cb9a76a28e6295e302788 (diff)
downloaddrakx-6df509b6c08868ec41f31b800f57ddfa00807de6.tar
drakx-6df509b6c08868ec41f31b800f57ddfa00807de6.tar.gz
drakx-6df509b6c08868ec41f31b800f57ddfa00807de6.tar.bz2
drakx-6df509b6c08868ec41f31b800f57ddfa00807de6.tar.xz
drakx-6df509b6c08868ec41f31b800f57ddfa00807de6.zip
(lilo_choice) do not complaing about lilo faillure when we use another
bootloader: just complain about the actually used bootloader
Diffstat (limited to 'perl-install/standalone/drakboot')
-rwxr-xr-xperl-install/standalone/drakboot3
1 files changed, 1 insertions, 2 deletions
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;
}
}