Browse Source

cleanup for microsoft-web-core-fonts

git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1189 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
7dc7227bbf
1 changed files with 4 additions and 10 deletions
  1. +4
    -10
      package/rene/microsoft-web-core-fonts/microsoft-web-core-fonts.conf

+ 4
- 10
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

Loading…
Cancel
Save