From 7dc7227bbf74038ed514a3ef11b4bf2d276be03e Mon Sep 17 00:00:00 2001 From: Rene Rebe Date: Tue, 26 Aug 2003 03:18:47 +0000 Subject: [PATCH] cleanup for microsoft-web-core-fonts git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1189 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- .../microsoft-web-core-fonts.conf | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/package/rene/microsoft-web-core-fonts/microsoft-web-core-fonts.conf b/package/rene/microsoft-web-core-fonts/microsoft-web-core-fonts.conf index 11be629c2..f27da7fc7 100644 --- a/package/rene/microsoft-web-core-fonts/microsoft-web-core-fonts.conf +++ b/package/rene/microsoft-web-core-fonts/microsoft-web-core-fonts.conf @@ -28,24 +28,18 @@ verdan32.exe webdin32.exe" ms_tt_inst() { - cd $root/usr/X11/lib/X11/fonts/TrueType for x in $tt_files ; do echo "$x" - if [ `echo "$x" | grep -i "exe"` ]; then + if [[ $x = *.exe ]]; then cabextract -L $archdir/$x else yes | unzip -LL $archdir/$x fi + + # check for a way to lowercase all files? + mv -vf $(ls *.TTF *.ttf) $root/usr/X11/lib/X11/fonts/TrueType/ done - - # check for a way to lowercase all files? - - # removing other trash - ls | egrep -v "^.*.(TTF|ttf)" | xargs rm -vf - - # generate the fonts.dir file - # mkttfontdir *.{TTF,ttf} } autoextract=0