summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_interactive.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-09-19 21:53:25 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-09-19 21:53:25 +0000
commit70c400f9a433cb7139c3c30e3cd8aaf350613483 (patch)
tree9512e81f5370296994d149c214c7b9c036603528 /perl-install/install_steps_interactive.pm
parent19ca59fe329e6cb97cc3681e70c12d81a022dbcc (diff)
downloaddrakx-70c400f9a433cb7139c3c30e3cd8aaf350613483.tar
drakx-70c400f9a433cb7139c3c30e3cd8aaf350613483.tar.gz
drakx-70c400f9a433cb7139c3c30e3cd8aaf350613483.tar.bz2
drakx-70c400f9a433cb7139c3c30e3cd8aaf350613483.tar.xz
drakx-70c400f9a433cb7139c3c30e3cd8aaf350613483.zip
no_comment
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r--perl-install/install_steps_interactive.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index e55b866ed..f57a0f152 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -534,12 +534,14 @@ sub setupBootloader($) {
my ($o) = @_;
my @l = (__("First sector of drive"), __("First sector of boot partition"));
+ add2hash_($o->{bootloader}, { onmbr => lilo::suggest_onmbr($o->{hds}) });
+
$o->{bootloader}{onmbr} =
$o->ask_from_list_(_("Lilo Installation"),
_("Where do you want to install the bootloader?"),
\@l,
$l[!$o->{bootloader}{onmbr}]
- ) eq $l[0];
+ ) eq $l[0] unless $::beginner && $o->{bootloader}{onmbr};
lilo::proposition($o->{hds}, $o->{fstab}, $o->{bootloader});