From b0296a8796a3e3baba2400c8c37e9427ebd0a48b Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 10 Apr 2003 15:08:58 +0000 Subject: any::setupBootloader() already call bootloader::install() --- perl-install/standalone/drakboot | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'perl-install/standalone/drakboot') diff --git a/perl-install/standalone/drakboot b/perl-install/standalone/drakboot index 81f566b4d..f83a9ec16 100755 --- a/perl-install/standalone/drakboot +++ b/perl-install/standalone/drakboot @@ -1,9 +1,9 @@ #!/usr/bin/perl # DrakBoot - +# $Id$ # Copyright (C) 2001-2003 MandrakeSoft -# Yves Duret +# Yves Duret, Thierry Vignaud # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -328,10 +328,7 @@ sub lilo_choice { ask: local $::isEmbedded = 0; - eval { - any::setupBootloader($in, $bootloader, $all_hds, $fstab, $ENV{SECURE_LEVEL}); - bootloader::install($bootloader, $fstab, $all_hds->{hds}); - }; + eval { any::setupBootloader($in, $bootloader, $all_hds, $fstab, $ENV{SECURE_LEVEL}) }; my $loader = arch() =~ /ppc/ ? "Yaboot" : "LILO"; my $err = $@; if ($err) { -- cgit v1.2.1