summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-02-01 15:04:09 +0000
committerThierry Vignaud <tv@mandriva.org>2010-02-01 15:04:09 +0000
commit92c1383e7f93a60aa5c1d1a926017f99b38dbbe4 (patch)
treed8ed8b65c45f8ec8c41ff3676ff2cba621ae39b1 /perl-install/any.pm
parentc1bb8da243e4443c9134a14e4230a8e8f449ee55 (diff)
downloaddrakx-92c1383e7f93a60aa5c1d1a926017f99b38dbbe4.tar
drakx-92c1383e7f93a60aa5c1d1a926017f99b38dbbe4.tar.gz
drakx-92c1383e7f93a60aa5c1d1a926017f99b38dbbe4.tar.bz2
drakx-92c1383e7f93a60aa5c1d1a926017f99b38dbbe4.tar.xz
drakx-92c1383e7f93a60aa5c1d1a926017f99b38dbbe4.zip
(setupBootloader__mbr_or_not) do not ask for bootloader location at
install time (requested by fcrozat+enael) (still available in summary)
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 55d13d17b..c73d6153f 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -368,7 +368,9 @@ sub setupBootloader__mbr_or_not {
);
my $default = find { $_->[1] eq $b->{boot} } @l;
- $default = _ask_mbr_or_not($in, $default, @l);
+ if (!$::isInstall) {
+ $default = _ask_mbr_or_not($in, $default, @l);
+ }
my $new_boot = $default->[1];
#- remove bios mapping if the user changed the boot device