1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/print/texinfo/pkg-install
Pietro Cerutti a2f50f2243 - Update to 4.11
- Respect NLS

PR:		124304
Submitted by:	yours truly
Approved by:	maintainer timeout
2008-06-18 23:33:51 +00:00

29 lines
332 B
Bash

#!/bin/sh
# $FreeBSD$
[ $# != 2 ] && exit 1
PKGNAME=$1
ACTION=$2
PATH="${PKG_PREFIX}/bin:${LOCALBASE}/bin:/usr/bin:${PATH}"
SETENV=env
TEXHASH=texhash
TRUE=true
case "$ACTION" in
POST-INSTALL|DEINSTALL)
${SETENV} PATH="${PATH}" ${TEXHASH} 2>/dev/null || ${TRUE}
;;
PRE-INSTALL|POST-DEINSTALL)
;;
*)
exit 1
;;
esac
exit