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