diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-04-30 10:09:27 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-04-30 10:09:27 +0000 |
commit | a419039b11d02b7ef2b7f894b199b245a7876303 (patch) | |
tree | 80c4d24a153aff1c05609b529d086457fe557c49 /perl-install/install_steps.pm | |
parent | c591bd073fb71703d6eb804429ed5b7e53bc538f (diff) | |
download | drakx-a419039b11d02b7ef2b7f894b199b245a7876303.tar drakx-a419039b11d02b7ef2b7f894b199b245a7876303.tar.gz drakx-a419039b11d02b7ef2b7f894b199b245a7876303.tar.bz2 drakx-a419039b11d02b7ef2b7f894b199b245a7876303.tar.xz drakx-a419039b11d02b7ef2b7f894b199b245a7876303.zip |
perl_checker compliance
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r-- | perl-install/install_steps.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 6de423d50..ff886ad3d 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -99,8 +99,7 @@ sub selectLanguage { $o->{locale}{langs} ||= { $o->{locale}{lang} => 1 }; if (!exists $o->{locale}{country}) { - lang::l2locale($o->{locale}{lang}) =~ /^.._(..)/; - $o->{locale}{country} = $1; + $o->{locale}{country} = $1 if lang::l2locale($o->{locale}{lang}) =~ /^.._(..)/; } lang::langs_selected($o->{locale}); |