summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-07-19 18:05:35 +0000
committerjlam <jlam@pkgsrc.org>2006-07-19 18:05:35 +0000
commit034c5b9566710e12c6a0904d3267091da374022b (patch)
tree48b0aacaee73a02716849d600d2322bb1fa64754 /mk
parentb584baffeabe6ec3b357531d71cebf81ae5b1e2c (diff)
downloadpkgsrc-034c5b9566710e12c6a0904d3267091da374022b.tar.gz
Add messages noting when the PRE-INSTALL and POST-INSTALL actions are run.
Diffstat (limited to 'mk')
-rw-r--r--mk/pkginstall/bsd.pkginstall.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/pkginstall/bsd.pkginstall.mk b/mk/pkginstall/bsd.pkginstall.mk
index daefaf4f74c..ab41bfc9b6b 100644
--- a/mk/pkginstall/bsd.pkginstall.mk
+++ b/mk/pkginstall/bsd.pkginstall.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkginstall.mk,v 1.13 2006/07/05 22:21:03 jlam Exp $
+# $NetBSD: bsd.pkginstall.mk,v 1.14 2006/07/19 18:05:35 jlam Exp $
#
# This Makefile fragment is included by bsd.pkg.mk and implements the
# common INSTALL/DEINSTALL scripts framework. To use the pkginstall
@@ -905,6 +905,7 @@ ${_INSTALL_FILE}: ${INSTALL_SRC}
pre-install-script:
${_PKG_SILENT}${_PKG_DEBUG} \
if ${TEST} -x ${INSTALL_FILE}; then \
+ ${STEP_MSG} "Running PRE-INSTALL script actions"; \
cd ${PKG_DB_TMPDIR} && ${SETENV} ${INSTALL_SCRIPTS_ENV} \
${_PKG_DEBUG_SCRIPT} ${INSTALL_FILE} ${PKGNAME} \
PRE-INSTALL; \
@@ -913,6 +914,7 @@ pre-install-script:
post-install-script:
${_PKG_SILENT}${_PKG_DEBUG} \
if ${TEST} -x ${INSTALL_FILE}; then \
+ ${STEP_MSG} "Running POST-INSTALL script actions"; \
cd ${PKG_DB_TMPDIR} && ${SETENV} ${INSTALL_SCRIPTS_ENV} \
${_PKG_DEBUG_SCRIPT} ${INSTALL_FILE} ${PKGNAME} \
POST-INSTALL; \