summaryrefslogtreecommitdiff
path: root/mk/pkginstall/install-post
blob: 2e2ea84fd3ab6aa84069b1a02ae9c7499a3c0c27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# $NetBSD: install-post,v 1.1 2006/05/21 23:50:15 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_TEMPLATE 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