From 5e7279dc8373fbff023c642c2dcb882ce4d70038 Mon Sep 17 00:00:00 2001 From: Pablo Saratxaga Date: Tue, 13 Aug 2002 08:57:29 +0000 Subject: corrected erros that made the script fail --- perl-install/share/gen_locales.sh | 5 +++-- 1 file 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 -- cgit v1.2.1