summaryrefslogtreecommitdiffstats
path: root/scripts/upd-instroot
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-03-03 01:49:59 +0000
committerJeremy Katz <katzj@redhat.com>2006-03-03 01:49:59 +0000
commit18c9145f0096fc8b9bbf89dc734f555b4da819d1 (patch)
treedf86e306e8764a64b735e7c2b78b64fe959b1518 /scripts/upd-instroot
parent9c85d5fba865ef25d2c590af5b44a032fb1762b7 (diff)
downloadanaconda-18c9145f0096fc8b9bbf89dc734f555b4da819d1.tar.gz
anaconda-18c9145f0096fc8b9bbf89dc734f555b4da819d1.tar.xz
anaconda-18c9145f0096fc8b9bbf89dc734f555b4da819d1.zip
2006-03-02 Jeremy Katz <katzj@redhat.com>
* scripts/upd-instroot: Include the second field of lang-table so we don't lose sr@Latn (#182591)
Diffstat (limited to 'scripts/upd-instroot')
-rwxr-xr-xscripts/upd-instroot8
1 files changed, 1 insertions, 7 deletions
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index f0778b101..4975596bc 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -984,13 +984,7 @@ cat $DESTGR/usr/lib/anaconda/lang-table* | awk '
if (split ($4, a, ".") > 1) {
print gensub(/\..*$/,tolower("." a[2]),"",$4);
};
- gsub("-", "", $7);
- print $7;
- print gensub(/\..*$/,"","",$7);
- print gensub(/_.*$/,"","",$7);
- if (split ($7, a, ".") > 1) {
- print gensub(/\..*$/,tolower("." a[2]),"",$7);
- };
+ print $2;
}
' | LC_ALL=C sort -u > $DESTGR/locales
for p in lib share; do (