diff options
author | jlam <jlam@pkgsrc.org> | 2005-01-06 23:44:35 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-01-06 23:44:35 +0000 |
commit | 840bee35ba4a82dd9d9526f71bc5893b1b1de4af (patch) | |
tree | 88f5dce53a1142de20722d6091f2cd72ed428288 /mk/install | |
parent | af5047298469b6933b077886ab3f7042ddef6e25 (diff) | |
download | pkgsrc-840bee35ba4a82dd9d9526f71bc5893b1b1de4af.tar.gz |
If we fail the user/group existence test, then don't proceed to the
directory creation, which often need to create directories owned by
a particular user.
Diffstat (limited to 'mk/install')
-rw-r--r-- | mk/install/install | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/mk/install/install b/mk/install/install index a28fb956c8a..d957682ef38 100644 --- a/mk/install/install +++ b/mk/install/install @@ -1,6 +1,6 @@ # start of install # -# $NetBSD: install,v 1.32 2004/10/11 22:04:19 reed Exp $ +# $NetBSD: install,v 1.33 2005/01/06 23:44:35 jlam Exp $ if [ -z "${CONF_FILES}" -a -z "${CONF_FILES_PERMS}" -a \ -z "${SUPPORT_FILES}" -a -z "${SUPPORT_FILES_PERMS}" -o \ @@ -105,6 +105,15 @@ PRE-INSTALL) fi done fi + if ! msgempty; then + ${ECHO} "===========================================================================" + msgprint + ${ECHO} "" + ${ECHO} "===========================================================================" + fi + if [ ${_pkg_exit} -gt 0 ]; then + exit ${_pkg_exit} + fi # Create package directories at pre-install time. # |