summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2005-03-14 21:25:04 +0000
committerJeremy Katz <katzj@redhat.com>2005-03-14 21:25:04 +0000
commit8c46b15e2ff0cebd88599fef2d885e1338aefad6 (patch)
tree7994e0da3b1443905581d086232114149580e9cd
parentb888125e81a53445585a191a2032968b1b970575 (diff)
downloadanaconda-8c46b15e2ff0cebd88599fef2d885e1338aefad6.tar.gz
anaconda-8c46b15e2ff0cebd88599fef2d885e1338aefad6.tar.xz
anaconda-8c46b15e2ff0cebd88599fef2d885e1338aefad6.zip
2005-03-14 Jeremy Katz <katzj@redhat.com>
* scripts/upd-instroot: More finagling for bogl fonts (#149039)
-rw-r--r--ChangeLog2
-rwxr-xr-xscripts/upd-instroot2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1cf96141d..138c4eba7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2005-03-14 Jeremy Katz <katzj@redhat.com>
+ * scripts/upd-instroot: More finagling for bogl fonts (#149039)
+
* scripts/upd-instroot (KEEPFILEGR): Fix for font location
changes (#150889)
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index ac22d5c12..5e8376d32 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -942,7 +942,7 @@ echo "Creating bogl font..."
OLDLANG=$LANG
export LANG=en_US.UTF-8
zcat $DESTGR/usr/lib/bogl/font.bdf.gz > $DESTGR/usr/lib/bogl/font.bdf
-(cat $DESTGR/usr/lib/anaconda-runtime/loader/unicode-linedraw-chars.txt ; find $DESTGR/usr/share/locale -name '*.mo' -exec msgunfmt {} \; | msguniq -t utf-8) | $DESTGR/usr/bin/reduce-font $DESTGR/usr/lib/bogl/font.bdf > $DESTGR/usr/lib/anaconda-runtime/loader/font-reduced.bdf
+(cat $DESTGR/usr/lib/anaconda-runtime/loader/unicode-linedraw-chars.txt ; for i in $(find $DESTGR/usr/share/locale -name '*.mo'); do msgunfmt $i 2>/dev/null | msgconv -t utf-8 -o - - ; done) | $DESTGR/usr/bin/reduce-font $DESTGR/usr/lib/bogl/font.bdf > $DESTGR/usr/lib/anaconda-runtime/loader/font-reduced.bdf
$DESTGR/usr/bin/bdftobogl -b $DESTGR/usr/lib/anaconda-runtime/loader/font-reduced.bdf > $DESTGR/usr/lib/anaconda-runtime/loader/font.bgf
rm -f $DESTGR/usr/lib/anaconda-runtime/loader/font-reduced.bdf $DESTGR/usr/lib/bogl/font.bdf $DESTGR/usr/bin/reduce-font $DESTGR/usr/bin/bdftobogl
gzip -9 -f $DESTGR/usr/lib/anaconda-runtime/loader/font.bgf