summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-11-08 15:42:24 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-11-08 15:42:24 +0000
commit4d5530fe42b7ef35e362af65c1ff03102d4ceb27 (patch)
tree133b761d46222f06a50567343d0194b0b509933e /perl-install/lang.pm
parentec1b0271eb0b20ef165bf81309195c842ceb225f (diff)
downloaddrakx-backup-do-not-use-4d5530fe42b7ef35e362af65c1ff03102d4ceb27.tar
drakx-backup-do-not-use-4d5530fe42b7ef35e362af65c1ff03102d4ceb27.tar.gz
drakx-backup-do-not-use-4d5530fe42b7ef35e362af65c1ff03102d4ceb27.tar.bz2
drakx-backup-do-not-use-4d5530fe42b7ef35e362af65c1ff03102d4ceb27.tar.xz
drakx-backup-do-not-use-4d5530fe42b7ef35e362af65c1ff03102d4ceb27.zip
fix regression(?) introduced in "r207416 2004-05-12" when cleaning standard_locale()
Diffstat (limited to 'perl-install/lang.pm')
-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 {