# $Id: postinstall,v 1.5 2006/04/27 16:36:47 elkner Exp $

if [ -z "$PKG_INSTALL_ROOT" -o "$PKG_INSTALL_ROOT" = "/" ]; then
        BASE=""
else
        BASE="${PKG_INSTALL_ROOT}/$CLIENT_BASEDIR"
fi
if [ -z "$BASE" -a -x "${CLIENT_BASEDIR}/bin/texconfig" ]; then
	${CLIENT_BASEDIR}/bin/texhash
else
	echo "
${CLIENT_BASEDIR}/bin/texhash not found:
Remember to update your tetex configuration manually (texconfig rehash)!
"
fi
# vim:ts=4 filetype=sh
