summaryrefslogtreecommitdiffstats
path: root/perl-install/share/gen_locales.pl
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2004-08-10 07:49:51 +0000
committerPablo Saratxaga <pablo@mandriva.com>2004-08-10 07:49:51 +0000
commitc105d33ecddeb86f2fa5516395a5c5521294aa5b (patch)
treed3ffb7666f11d35caf2930aaa1aae233cbffc16f /perl-install/share/gen_locales.pl
parent7a88b1a33f87498cb35dbb7bebbb63ea10c70d51 (diff)
downloaddrakx-c105d33ecddeb86f2fa5516395a5c5521294aa5b.tar
drakx-c105d33ecddeb86f2fa5516395a5c5521294aa5b.tar.gz
drakx-c105d33ecddeb86f2fa5516395a5c5521294aa5b.tar.bz2
drakx-c105d33ecddeb86f2fa5516395a5c5521294aa5b.tar.xz
drakx-c105d33ecddeb86f2fa5516395a5c5521294aa5b.zip
updated use UTF-8 locales for everything
Diffstat (limited to 'perl-install/share/gen_locales.pl')
-rw-r--r--perl-install/share/gen_locales.pl6
1 files changed, 2 insertions, 4 deletions
diff --git a/perl-install/share/gen_locales.pl b/perl-install/share/gen_locales.pl
index 93820bca7..4928ff8c8 100644
--- a/perl-install/share/gen_locales.pl
+++ b/perl-install/share/gen_locales.pl
@@ -4,11 +4,9 @@ use MDK::Common;
use lang;
foreach (lang::list_langs()) {
- my $c = lang::during_install__l2charset($_) or next;
- -e "usr/share/locale/$c" or warn("not handled lang $_ (charset $c)\n"), next;
if (my $exist = readlink "usr/share/locale/$_") {
- $exist eq $c or die "symlink $_ already exist and is $exist instead of $c\n";
+ die "symlink $_ already exist and is $exist\n";
} else {
- symlink $c, "usr/share/locale/$_" or die "can't create symlink $_";
+ symlink "UTF-8", "usr/share/locale/$_" or die "can't create symlink $_";
}
}