# $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