diff options
author | glewis <glewis@FreeBSD.org> | 2003-11-20 23:32:44 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2003-11-20 23:32:44 +0800 |
commit | 942b6e7a4702afd3a2f370af4732ab9ec4fe350b (patch) | |
tree | b6449e1be6ed4ce9cb4163a7a1899b37ff2e1cb8 /textproc/foiltex | |
parent | f457b6957e50f874743e656f86a66151f996e4f0 (diff) | |
download | freebsd-ports-gnome-942b6e7a4702afd3a2f370af4732ab9ec4fe350b.tar.gz freebsd-ports-gnome-942b6e7a4702afd3a2f370af4732ab9ec4fe350b.tar.zst freebsd-ports-gnome-942b6e7a4702afd3a2f370af4732ab9ec4fe350b.zip |
. More complete search path for mktexlsr.
PR: 59481
Submitted by: Stefan Walter <sw@gegenunendlich.de>
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" |