summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpad <pad@mandriva.com>1999-09-06 10:27:07 +0000
committerpad <pad@mandriva.com>1999-09-06 10:27:07 +0000
commite8059cec2f7399b2c5537cb11ab9b17628d2f946 (patch)
treeb10e544ecabc11f6a135c288d4b8172908c4a660
parentb1cae159ba301ce08f4b46371354f504eef3a38d (diff)
downloaddrakx-e8059cec2f7399b2c5537cb11ab9b17628d2f946.tar
drakx-e8059cec2f7399b2c5537cb11ab9b17628d2f946.tar.gz
drakx-e8059cec2f7399b2c5537cb11ab9b17628d2f946.tar.bz2
drakx-e8059cec2f7399b2c5537cb11ab9b17628d2f946.tar.xz
drakx-e8059cec2f7399b2c5537cb11ab9b17628d2f946.zip
work
-rw-r--r--perl-install/install_steps_interactive.pm11
1 files changed, 8 insertions, 3 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 8e61ccdea..dd12293e5 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -23,7 +23,6 @@ use keyboard;
use fs;
use log;
use printer;
-1;
#-######################################################################################
#- In/Out Steps Functions
@@ -56,6 +55,7 @@ sub selectKeyboard($) {
_("Which keyboard do you have?"),
[ keyboard::list() ],
keyboard::keyboard2text($o->{keyboard})));
+ $o->{keyboard_force} = 1;
install_steps::selectKeyboard($o);
}
#------------------------------------------------------------------------------
@@ -394,7 +394,7 @@ wish to access and any applicable user name and password."),
sub setRootPassword($) {
my ($o) = @_;
$o->{superuser} ||= {};
- $o->{superuser}{password2} ||= $o->{superuser}{password};
+ $o->{superuser}{password2} ||= $o->{superuser}{password} ||= "";
my $sup = $o->{superuser};
$o->ask_from_entries_ref(_("Set root password"),
@@ -416,7 +416,7 @@ sub setRootPassword($) {
sub addUser($) {
my ($o) = @_;
$o->{user} ||= {};
- $o->{user}{password2} ||= $o->{user}{password};
+ $o->{user}{password2} ||= $o->{user}{password} ||= "";
my $u = $o->{user};
my @fields = qw(realname name password password2);
@@ -570,3 +570,8 @@ sub setup_thiskind {
push @l, \@r;
}
}
+
+#-######################################################################################
+#- Wonderful perl :(
+#-######################################################################################
+1; #