summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2004-08-10 07:52:59 +0000
committerPablo Saratxaga <pablo@mandriva.com>2004-08-10 07:52:59 +0000
commit3799c3388d4ed5524da4c9907b28c9797b62d110 (patch)
tree0c7c1ef57fcb1b337c04275004eeae69c89a9691
parentc105d33ecddeb86f2fa5516395a5c5521294aa5b (diff)
downloaddrakx-backup-do-not-use-3799c3388d4ed5524da4c9907b28c9797b62d110.tar
drakx-backup-do-not-use-3799c3388d4ed5524da4c9907b28c9797b62d110.tar.gz
drakx-backup-do-not-use-3799c3388d4ed5524da4c9907b28c9797b62d110.tar.bz2
drakx-backup-do-not-use-3799c3388d4ed5524da4c9907b28c9797b62d110.tar.xz
drakx-backup-do-not-use-3799c3388d4ed5524da4c9907b28c9797b62d110.zip
using "en_US.UTF-8" instead of "UTF-8" as model
-rw-r--r--perl-install/share/gen_locales.pl2
-rwxr-xr-xperl-install/share/gen_locales.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/share/gen_locales.pl b/perl-install/share/gen_locales.pl
index 4928ff8c8..fcc03f0c9 100644
--- a/perl-install/share/gen_locales.pl
+++ b/perl-install/share/gen_locales.pl
@@ -7,6 +7,6 @@ foreach (lang::list_langs()) {
if (my $exist = readlink "usr/share/locale/$_") {
die "symlink $_ already exist and is $exist\n";
} else {
- symlink "UTF-8", "usr/share/locale/$_" or die "can't create symlink $_";
+ symlink "en_US.UTF-8", "usr/share/locale/$_" or die "can't create symlink $_";
}
}
diff --git a/perl-install/share/gen_locales.sh b/perl-install/share/gen_locales.sh
index ecc13e809..6d1ed5fe1 100755
--- a/perl-install/share/gen_locales.sh
+++ b/perl-install/share/gen_locales.sh
@@ -5,7 +5,7 @@ tar xfj ../locales-skeleton.tar.bz2
# locale utf-8
for i in LC_ADDRESS LC_COLLATE LC_CTYPE LC_IDENTIFICATION LC_MEASUREMENT LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE LC_TIME LC_MESSAGES/SYS_LC_MESSAGES ; do
- install -D -m 644 /usr/share/locale/UTF-8/$i usr/share/locale/UTF-8/$i
+ install -D -m 644 /usr/share/locale/UTF-8/$i usr/share/locale/en_US.UTF-8/$i
done
perl -I../.. ../gen_locales.pl || exit 1