summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-01-09 23:33:46 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-01-09 23:33:46 +0000
commit60c149d28cdd9b8730890fa790c43b79f8409cb3 (patch)
tree512c14451cb480cbf359477194975ba3c4c504c5 /perl-install
parent341111e85b2a5425188349dced71e11ac4b178e3 (diff)
downloaddrakx-backup-do-not-use-60c149d28cdd9b8730890fa790c43b79f8409cb3.tar
drakx-backup-do-not-use-60c149d28cdd9b8730890fa790c43b79f8409cb3.tar.gz
drakx-backup-do-not-use-60c149d28cdd9b8730890fa790c43b79f8409cb3.tar.bz2
drakx-backup-do-not-use-60c149d28cdd9b8730890fa790c43b79f8409cb3.tar.xz
drakx-backup-do-not-use-60c149d28cdd9b8730890fa790c43b79f8409cb3.zip
(selectLanguage): $o->{langs} is now a ref so initialize as such
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 1782292d5..197f2c563 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -87,6 +87,7 @@ sub set_help { 1 }
sub selectLanguage {
my ($o) = @_;
lang::set($o->{lang});
+ $o->{langs} ||= { $o->{lang} => 1 };
if ($o->{keyboard_unsafe} || !$o->{keyboard}) {
$o->{keyboard_unsafe} = 1;
@@ -98,7 +99,6 @@ sub selectLanguage {
sub selectKeyboard {
my ($o) = @_;
keyboard::setup($o->{keyboard});
- $o->{langs} ||= [ $o->{lang} ];
}
#------------------------------------------------------------------------------
sub selectPath {}