|
|
@ -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 |
|
|
|