diff options
author | Matt Wilson <msw@redhat.com> | 2002-12-12 05:20:47 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2002-12-12 05:20:47 +0000 |
commit | f22d489e4a5461c1f447d303aa5eb246a28d5388 (patch) | |
tree | f63591a50187095fc1fe7e650ac34f7de65b90f4 /scripts | |
parent | 2be7336523a9452b7955b7a06b7424e83c101181 (diff) | |
download | anaconda-f22d489e4a5461c1f447d303aa5eb246a28d5388.tar.gz anaconda-f22d489e4a5461c1f447d303aa5eb246a28d5388.tar.xz anaconda-f22d489e4a5461c1f447d303aa5eb246a28d5388.zip |
locale data will always be normalized to have no dashes in them (well, at least in the encoding part - this should be good enough
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/upd-instroot | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/upd-instroot b/scripts/upd-instroot index 41641399a..69879ceec 100755 --- a/scripts/upd-instroot +++ b/scripts/upd-instroot @@ -716,10 +716,10 @@ fi # Remove locales unused during the install cat $DESTGR/usr/lib/anaconda/lang-table* | awk ' -{ print $5; +{ gsub("-", "", $5); + print $5; print gensub(/\..*$/,"","",$5); print gensub(/_.*$/,"","",$5); - print gensub(/-/,"","",tolower($5)); if (split ($5, a, "\.") > 1) { print gensub(/\..*$/,tolower("." a[2]),"",$5); }; |