summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-27 16:06:58 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-27 16:06:58 +0000
commitd3a1c1b92ee65675587af0f70970ee3c296ead19 (patch)
tree1ecfdab62b7d1d04518a7abcb5dde7d3be09cad7 /perl-install
parent0cee2445f80d2d87ad3113826e2d6e6f25bdaba8 (diff)
downloaddrakx-d3a1c1b92ee65675587af0f70970ee3c296ead19.tar
drakx-d3a1c1b92ee65675587af0f70970ee3c296ead19.tar.gz
drakx-d3a1c1b92ee65675587af0f70970ee3c296ead19.tar.bz2
drakx-d3a1c1b92ee65675587af0f70970ee3c296ead19.tar.xz
drakx-d3a1c1b92ee65675587af0f70970ee3c296ead19.zip
set password2 to password so that upgrading bootloader with an existing password works (thanks to Aleksander Adamowski)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/any.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 7d9c05e66..bb75375b6 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -153,6 +153,7 @@ sub setupBootloader {
my $memsize = bootloader::get_append($b, 'mem');
my $prev_clean_tmp = my $clean_tmp = grep { $_->{mntpoint} eq '/tmp' } @{$all_hds->{special} ||= []};
+ $b->{password2} ||= $b->{password} ||= '';
$b->{vga} ||= 'normal';
if (arch() !~ /ppc/) {
$in->ask_from('', _("Bootloader main options"), [