diff options
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}); |