summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/lang.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index 555d811a8..9b4efa365 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -465,8 +465,9 @@ sub standard_locale {
my $main_locale = locale_to_main_locale($lang);
if ($main_locale ne $lang) {
standard_locale($main_locale, $country, $prefer_lang);
+ } else {
+ '';
}
- '';
}
sub fix_variant {