summaryrefslogtreecommitdiffstats
path: root/scripts/upd-instroot
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-01-13 21:10:20 +0000
committerJeremy Katz <katzj@redhat.com>2003-01-13 21:10:20 +0000
commit732ebcf96482eb32cee2d7378c8d3efeb0b96bca (patch)
treeaa4a0662567bad476fce01c0ce5411fa3203cf8b /scripts/upd-instroot
parent40c52dd5f8849a3ae1ee705ff46f3b0ea991838e (diff)
downloadanaconda-732ebcf96482eb32cee2d7378c8d3efeb0b96bca.tar.gz
anaconda-732ebcf96482eb32cee2d7378c8d3efeb0b96bca.tar.xz
anaconda-732ebcf96482eb32cee2d7378c8d3efeb0b96bca.zip
include runtime locale support also (so we get utf8 locale support for cjk)
Diffstat (limited to 'scripts/upd-instroot')
-rwxr-xr-xscripts/upd-instroot7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index 7458d0505..58e386a80 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -756,6 +756,13 @@ cat $DESTGR/usr/lib/anaconda/lang-table* | awk '
if (split ($5, a, "\.") > 1) {
print gensub(/\..*$/,tolower("." a[2]),"",$5);
};
+ gsub("-", "", $8);
+ print $8;
+ print gensub(/\..*$/,"","",$8);
+ print gensub(/_.*$/,"","",$8);
+ if (split ($8, a, "\.") > 1) {
+ print gensub(/\..*$/,tolower("." a[2]),"",$8);
+ };
}
' | LC_ALL=C sort -u > $DESTGR/locales
for p in lib share; do (