summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2002-08-13 08:57:29 +0000
committerPablo Saratxaga <pablo@mandriva.com>2002-08-13 08:57:29 +0000
commit5e7279dc8373fbff023c642c2dcb882ce4d70038 (patch)
tree2f4462a581b1c0359fe1f80dfd5637e6a957d051
parenta300aa3c29e807051cad181a690ad48b274ec46a (diff)
downloaddrakx-5e7279dc8373fbff023c642c2dcb882ce4d70038.tar
drakx-5e7279dc8373fbff023c642c2dcb882ce4d70038.tar.gz
drakx-5e7279dc8373fbff023c642c2dcb882ce4d70038.tar.bz2
drakx-5e7279dc8373fbff023c642c2dcb882ce4d70038.tar.xz
drakx-5e7279dc8373fbff023c642c2dcb882ce4d70038.zip
corrected erros that made the script fail
-rwxr-xr-xperl-install/share/gen_locales.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/share/gen_locales.sh b/perl-install/share/gen_locales.sh
index b4a52b7c1..61a448b1d 100755
--- a/perl-install/share/gen_locales.sh
+++ b/perl-install/share/gen_locales.sh
@@ -16,7 +16,6 @@ for i in CP1251 ISO-8859-13 ISO-8859-14 ISO-8859-15 ISO-8859-2 ISO-8859-3 ISO-88
(cd usr/share/locale/$i ; ln -s ../UTF-8/* . 2>/dev/null)
done
-az ka vi
# for non common encodings, build them locally to ensure they are present
for i in ISO-8859-9E ARMSCII-8 GEORGIAN-ACADEMY KOI8-K TCVN-5712
do
@@ -28,9 +27,11 @@ do
(cd usr/share/locale/$i ; ln -s ../UTF-8/* . 2>/dev/null)
done
+# "ta" should be added to the locale list, but the locales-ta rpm
+# is not ready yet
# lc_ctype for non common encodings
rm -rf .tmp2 ; mkdir .tmp2 ; cd .tmp2
-for i in ja ko ta th ; do
+for i in ja ko th ; do
ii=locales-`echo $i | sed 's/\(..\).*/\1/'`
rpm2cpio /RPMS/$ii-*.rpm | cpio -id --quiet
f=usr/share/locale/$i/LC_CTYPE