summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-08-24 18:03:44 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-08-24 18:03:44 +0000
commit4b82d1d4bcc7a497444f5cfb9eaa50563287c493 (patch)
tree31d4189da2f611fce27a61de2f2f67dea4a88a89
parent6f2485713a125b8b73b79606e3de62de4ad2eab7 (diff)
downloaddrakx-backup-do-not-use-4b82d1d4bcc7a497444f5cfb9eaa50563287c493.tar
drakx-backup-do-not-use-4b82d1d4bcc7a497444f5cfb9eaa50563287c493.tar.gz
drakx-backup-do-not-use-4b82d1d4bcc7a497444f5cfb9eaa50563287c493.tar.bz2
drakx-backup-do-not-use-4b82d1d4bcc7a497444f5cfb9eaa50563287c493.tar.xz
drakx-backup-do-not-use-4b82d1d4bcc7a497444f5cfb9eaa50563287c493.zip
no need for UTF-8/LC_CTYPE
-rw-r--r--perl-install/lang.pm2
-rwxr-xr-xperl-install/share/gen_locales.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index 3a989f53a..558de5605 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -314,7 +314,7 @@ sub set {
eval {
require packdrake;
my $packer = new packdrake("$ENV{SHARE_PATH}/locale.cz2", quiet => 1);
- $packer->extract_archive("$ENV{SHARE_PATH}/locale", "UTF-8", split(":", $languages{$lang}[3]));
+ $packer->extract_archive("$ENV{SHARE_PATH}/locale", split(":", $languages{$lang}[3]));
};
}
diff --git a/perl-install/share/gen_locales.sh b/perl-install/share/gen_locales.sh
index da495d981..828c893a0 100755
--- a/perl-install/share/gen_locales.sh
+++ b/perl-install/share/gen_locales.sh
@@ -4,7 +4,7 @@ rm -rf .tmp ; mkdir .tmp ; cd .tmp
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
+for i in LC_ADDRESS LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE LC_TIME LC_MESSAGES/SYS_LC_MESSAGES ; do
cp -f /usr/share/locale/UTF-8/$i usr/share/locale/UTF-8/$i
done