summaryrefslogtreecommitdiffstats
path: root/perl-install/share/gen_locales.sh
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2001-09-06 19:14:22 +0000
committerPablo Saratxaga <pablo@mandriva.com>2001-09-06 19:14:22 +0000
commit17b53119d261760c775023b46872758e7e1eada4 (patch)
treea01dd412ac7721cd5b8a9a91fe788f36644925b2 /perl-install/share/gen_locales.sh
parent850c732e581da7757912479dff2d919c61d7427a (diff)
downloaddrakx-backup-do-not-use-17b53119d261760c775023b46872758e7e1eada4.tar
drakx-backup-do-not-use-17b53119d261760c775023b46872758e7e1eada4.tar.gz
drakx-backup-do-not-use-17b53119d261760c775023b46872758e7e1eada4.tar.bz2
drakx-backup-do-not-use-17b53119d261760c775023b46872758e7e1eada4.tar.xz
drakx-backup-do-not-use-17b53119d261760c775023b46872758e7e1eada4.zip
corrected lang.pm to have coherence in locale usage (it was the source
of much of the problems); changed keyboard.pm to ignore charset encoding in locale name for locale -> keyboard guessing. removed unused gconv modules, converted az.po to utf-8 (as it was the only remaining az.po on Earth still in a non standard encoding)
Diffstat (limited to 'perl-install/share/gen_locales.sh')
-rwxr-xr-xperl-install/share/gen_locales.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/share/gen_locales.sh b/perl-install/share/gen_locales.sh
index 828c893a0..88b12b3f5 100755
--- a/perl-install/share/gen_locales.sh
+++ b/perl-install/share/gen_locales.sh
@@ -9,14 +9,14 @@ for i in LC_ADDRESS LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MONETARY LC_N
done
# lc_ctype for common encoding
-for i in CP1251 CP1255 CP1256 ISO-8859-13 ISO-8859-14 ISO-8859-15 ISO-8859-2 ISO-8859-3 ISO-8859-5 ISO-8859-7 ISO-8859-9 ISO-8859-9E KOI8-U KOI8-R ; do
+for i in CP1251 ISO-8859-13 ISO-8859-14 ISO-8859-15 ISO-8859-2 ISO-8859-3 ISO-8859-5 ISO-8859-7 ISO-8859-9 ISO-8859-9E KOI8-U KOI8-R ; do
f=usr/share/locale/$i/LC_CTYPE
[ -e /$f ] || { echo missing /$f ; exit 1 ; }
cp -f /$f $f
done
rm -rf .tmp2 ; mkdir .tmp2 ; cd .tmp2
-for i in hy ja ko ta th vi ; do
+for i in hy ja ko th vi ; do
ii=locales-`echo $i | sed 's/\(..\).*/\1/'`
rpm2cpio /RPMS/$ii-*.rpm | cpio -id --quiet
f=usr/share/locale/$i/LC_CTYPE