#!/bin/sh STAR_OFFICE_ROOT=/StarOffice5.2 FONTS_DIR=/usr/X11R6/lib/X11/fonts/ISO8859-2/Type1 # If you have Soffice instead of StarOffice5.2, change the second line to ...ROOT=/Soffice. # The above fonts directory is for SuSE 7.0 and previous. # FONTS_DIR=/usr/share/fonts/ISO8859-2/Type1 # The above fonts directory is for RedHat and Mandrake; # uncomment it if you use those systems. # ----------------------------------------------------------------------- # Don't edit below this! # ----------------------------------------------------------------------- XP3_DIR=$STAR_OFFICE_ROOT/share/xp3 if [ -e $XP3_DIR/psstd.fonts.il2 ]; then echo "Changes were already made." echo "If you want to do it, delete the file" echo " $XP3_DIR/psstd.fonts.il2" exit 1 fi if [ -e $FONTS_DIR/afm ]; then AFM_DIR=$FONTS_DIR/afm else AFM_DIR=$FONTS_DIR fi