#!/bin/sh
#
#ident  "@(#)postremove 1.2 94/12/15 SMI"
#
# Copyright (c) 1994 by Sun Microsystems, Inc.
#

# modify 75dpi/fonts.dir
FONTINSTDIR=usr/openwin/lib/X11/fonts/75dpi

if [ `/bin/uname -p` = "$ARCH" ] ; then
    EXEC_BASE=$BASEDIR
else
    EXEC_BASE=
fi

LD_LIBRARY_PATH=$EXEC_BASE/usr/openwin/server/lib:$EXEC_BASE/usr/openwin/lib
export LD_LIBRARY_PATH

MKFONTDIR=$EXEC_BASE/usr/openwin/bin/mkfontdir

if [ -d $EXEC_BASE/$FONTINSTDIR -a -x $MKFONTDIR ]; then
	cd $EXEC_BASE/$FONTINSTDIR
	$MKFONTDIR . || exit 2
fi

exit 0
