diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2003-11-20 15:32:44 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2003-11-20 15:32:44 +0000 |
commit | c007f73f8815c1f23043ef793169be3c2b5a018f (patch) | |
tree | a3e9975f47a74fd8a0ba7be5a1031255a4a31da4 /textproc/foiltex | |
parent | b315d254f8f67cb8e870225af9e228506509550c (diff) | |
download | ports-c007f73f8815c1f23043ef793169be3c2b5a018f.tar.gz ports-c007f73f8815c1f23043ef793169be3c2b5a018f.zip |
. More complete search path for mktexlsr.
PR: 59481
Submitted by: Stefan Walter <sw@gegenunendlich.de>
Notes
Notes:
svn path=/head/; revision=94481
Diffstat (limited to 'textproc/foiltex')
-rw-r--r-- | textproc/foiltex/pkg-install | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/textproc/foiltex/pkg-install b/textproc/foiltex/pkg-install index a97a81c62211..09c6d60ec27d 100644 --- a/textproc/foiltex/pkg-install +++ b/textproc/foiltex/pkg-install @@ -1,11 +1,13 @@ #!/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 + elif [ -x ${PKG_PREFIX}/bin/mktexlsr ]; then + ${PKG_PREFIX}/bin/mktexlsr + elif [ -x /usr/local/bin/mktexlsr ]; then + /usr/local/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" |