summaryrefslogtreecommitdiff
path: root/mk/install/install-post
blob: 79f17b0797d2fbee7752c3fbc08c60712fabc292 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# $NetBSD: install-post,v 1.3 2006/03/15 04:52:57 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