summaryrefslogtreecommitdiff
path: root/mk/install/install-post
blob: d8b25c5a021c1b051bbed9b38dc30d0c4777677c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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