View | Details | Raw Unified | Return to bug 59482
Collapse All | Expand All

(-)ppower4/pkg-install (-2 / +4 lines)
Lines 1-11 Link Here
1
#!/bin/sh
1
#!/bin/sh
2
2
3
[ -z "${LOCALBASE}" ] && LOCALBASE=/usr/local
4
5
if [ "$2" = "POST-INSTALL" ]; then
3
if [ "$2" = "POST-INSTALL" ]; then
6
	echo "Updating content cache to let LaTeX know about the new style files:"
4
	echo "Updating content cache to let LaTeX know about the new style files:"
7
	if [ -x ${LOCALBASE}/bin/mktexlsr ]; then
5
	if [ -x ${LOCALBASE}/bin/mktexlsr ]; then
8
		${LOCALBASE}/bin/mktexlsr
6
		${LOCALBASE}/bin/mktexlsr
7
	elif [ -x ${PKG_PREFIX}/bin/mktexlsr ]; then
8
		${PKG_PREFIX}/bin/mktexlsr
9
	elif [ -x /usr/local/bin/mktexlsr ]; then
10
		/usr/local/bin/mktexlsr
9
	else
11
	else
10
		echo "Could not find mktexlsr. Please run it manually to update"
12
		echo "Could not find mktexlsr. Please run it manually to update"
11
		echo "LaTeX's content cache, or you won't be able to use the"
13
		echo "LaTeX's content cache, or you won't be able to use the"

Return to bug 59482