blob: 93820bca79f73af3d324f6f4f82f5c9773cafff3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/usr/bin/perl
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";
} else {
symlink $c, "usr/share/locale/$_" or die "can't create symlink $_";
}
}
|