diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-02-11 13:53:30 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-02-11 13:53:30 +0000 |
commit | eaa1d34e51c9102de4dd26fed5fd0763c4507920 (patch) | |
tree | 1aa1b2dfd745e288dd6cdbecdce9da86db96b0c0 /perl-install/install_steps.pm | |
parent | 38991f0fbe451db1be784f1503f364ef3b527916 (diff) | |
download | drakx-eaa1d34e51c9102de4dd26fed5fd0763c4507920.tar drakx-eaa1d34e51c9102de4dd26fed5fd0763c4507920.tar.gz drakx-eaa1d34e51c9102de4dd26fed5fd0763c4507920.tar.bz2 drakx-eaa1d34e51c9102de4dd26fed5fd0763c4507920.tar.xz drakx-eaa1d34e51c9102de4dd26fed5fd0763c4507920.zip |
have compatibility with old $o->{lang} for not breaking existing auto install files
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r-- | perl-install/install_steps.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index d5c7b5854..1cd4d5bf3 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -88,6 +88,10 @@ sub set_help { 1 } #------------------------------------------------------------------------------ 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}); + lang::set($o->{locale}{lang}, !$o->isa('interactive::gtk')); $o->{locale}{langs} ||= { $o->{locale}{lang} => 1 }; |