aboutsummaryrefslogtreecommitdiff
path: root/textproc/ppower4/pkg-install
blob: a97a81c622112bd6bbfada429e550089894cbcc2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

[ -z "${LOCALBASE}" ] && LOCALBASE=/usr/local

if [ "$2" = "POST-INSTALL" ]; then
	echo "Updating content cache to let LaTeX know about the new style files:"
	if [ -x ${LOCALBASE}/bin/mktexlsr ]; then
		${LOCALBASE}/bin/mktexlsr
	else
		echo "Could not find mktexlsr. Please run it manually to update"
		echo "LaTeX's content cache, or you won't be able to use the"
		echo "new style files."
	fi
fi