62fd86d085
* Ensure that VIEW-INSTALL is called after _all_ POST-INSTALL actions (including any in the INSTALL_EXTRA_TMPL file) by moving the call to a file that is included after all other INSTALL templates. * Ensure that VIEW-DEINSTALL is called before _all_ DEINSTALL actions (including any in the DEINSTALL_EXTRA_TMPL file) by moving the call to a file that is included before all other DEINSTALL templates.
18 lines
482 B
Text
18 lines
482 B
Text
# start of install-post
|
|
#
|
|
# $NetBSD: install-post,v 1.1 2003/11/23 07:14:43 jlam Exp $
|
|
|
|
# Ensure that the VIEW-INSTALL action is called for overwrite packages.
|
|
# This is here to ensure that it's the final POST-INSTALL action (after
|
|
# any INSTALL_EXTRA_TMPL POST-INSTALL actions).
|
|
#
|
|
case ${STAGE} in
|
|
POST-INSTALL)
|
|
if [ "${PKG_INSTALLATION_TYPE}" = "overwrite" ]; then
|
|
${SETENV} PKG_PREFIX="${PKG_PREFIX}" \
|
|
$0 ${PKGNAME} VIEW-INSTALL
|
|
fi
|
|
;;
|
|
esac
|
|
|
|
# end of install-post
|