0878f7a535
(non-fatal) error: ./+INSTALL: /usr/pkg/lib/firefox2/regchrome: not found. Only run regchrome when it's installed.
20 lines
554 B
Text
20 lines
554 B
Text
# $NetBSD: INSTALL,v 1.2 2006/10/08 13:10:30 ghen Exp $
|
|
|
|
MOZILLA="@MOZILLA@"
|
|
MOZILLA_BIN="@MOZILLA_BIN@"
|
|
MOZILLA_FIVE_HOME="${PKG_PREFIX}/lib/${MOZILLA}"
|
|
export MOZILLA_FIVE_HOME
|
|
|
|
case ${STAGE} in
|
|
POST-INSTALL)
|
|
${MKDIR} -p "./tmpdir-${PKGNAME}"
|
|
LD_LIBRARY_PATH="${MOZILLA_FIVE_HOME}" HOME="./tmpdir-${PKGNAME}" \
|
|
${MOZILLA_FIVE_HOME}/regxpcom
|
|
if ${TEST} -x ${MOZILLA_FIVE_HOME}/regchrome; then
|
|
LD_LIBRARY_PATH="${MOZILLA_FIVE_HOME}" \
|
|
HOME="./tmpdir-${PKGNAME}" \
|
|
${MOZILLA_FIVE_HOME}/regchrome
|
|
fi
|
|
${RM} -fr "./tmpdir-${PKGNAME}"
|
|
;;
|
|
esac
|