summaryrefslogtreecommitdiffstats
path: root/perl-install/share/gen_locales.pl
diff options
context:
space:
mode:
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 $_";
}
}