diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-01-09 23:33:46 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-01-09 23:33:46 +0000 |
commit | 60c149d28cdd9b8730890fa790c43b79f8409cb3 (patch) | |
tree | 512c14451cb480cbf359477194975ba3c4c504c5 /perl-install | |
parent | 341111e85b2a5425188349dced71e11ac4b178e3 (diff) | |
download | drakx-60c149d28cdd9b8730890fa790c43b79f8409cb3.tar drakx-60c149d28cdd9b8730890fa790c43b79f8409cb3.tar.gz drakx-60c149d28cdd9b8730890fa790c43b79f8409cb3.tar.bz2 drakx-60c149d28cdd9b8730890fa790c43b79f8409cb3.tar.xz drakx-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.pm | 2 |
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 {} |