summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-02-11 14:14:39 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-02-11 14:14:39 +0000
commit9ed2557f2f1b86cb2ab1309aaa3a40b4e02e108d (patch)
tree160363248dba3955a3d29c0ad29100b2c48a0d62 /perl-install/install_steps.pm
parenteaa1d34e51c9102de4dd26fed5fd0763c4507920 (diff)
downloaddrakx-9ed2557f2f1b86cb2ab1309aaa3a40b4e02e108d.tar
drakx-9ed2557f2f1b86cb2ab1309aaa3a40b4e02e108d.tar.gz
drakx-9ed2557f2f1b86cb2ab1309aaa3a40b4e02e108d.tar.bz2
drakx-9ed2557f2f1b86cb2ab1309aaa3a40b4e02e108d.tar.xz
drakx-9ed2557f2f1b86cb2ab1309aaa3a40b4e02e108d.zip
try to fix the $o->{lang} compat
Diffstat (limited to 'perl-install/install_steps.pm')
-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 1cd4d5bf3..348c01fc1 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -90,7 +90,7 @@ sub selectLanguage {
my ($o) = @_;
#- for auto_install compatibility with old $o->{lang}
- $o->{locale} = lang::system_locales_to_ourlocale($o->{lang}, $o->{lang}) if $o->{lang} && !ref($o->{locale});
+ $o->{locale} = lang::system_locales_to_ourlocale($o->{lang}, $o->{lang}) if $o->{lang};
lang::set($o->{locale}{lang}, !$o->isa('interactive::gtk'));
$o->{locale}{langs} ||= { $o->{locale}{lang} => 1 };