summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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 (