diff options
author | Pablo Saratxaga <pablo@mandriva.com> | 2002-08-13 08:57:29 +0000 |
---|---|---|
committer | Pablo Saratxaga <pablo@mandriva.com> | 2002-08-13 08:57:29 +0000 |
commit | 5e7279dc8373fbff023c642c2dcb882ce4d70038 (patch) | |
tree | 2f4462a581b1c0359fe1f80dfd5637e6a957d051 /perl-install/share/gen_locales.sh | |
parent | a300aa3c29e807051cad181a690ad48b274ec46a (diff) | |
download | drakx-backup-do-not-use-5e7279dc8373fbff023c642c2dcb882ce4d70038.tar drakx-backup-do-not-use-5e7279dc8373fbff023c642c2dcb882ce4d70038.tar.gz drakx-backup-do-not-use-5e7279dc8373fbff023c642c2dcb882ce4d70038.tar.bz2 drakx-backup-do-not-use-5e7279dc8373fbff023c642c2dcb882ce4d70038.tar.xz drakx-backup-do-not-use-5e7279dc8373fbff023c642c2dcb882ce4d70038.zip |
corrected erros that made the script fail
Diffstat (limited to 'perl-install/share/gen_locales.sh')
-rwxr-xr-x | perl-install/share/gen_locales.sh | 5 |
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 |