summaryrefslogtreecommitdiff
path: root/mk/install
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-06-27 20:46:31 +0000
committerjlam <jlam@pkgsrc.org>2002-06-27 20:46:31 +0000
commit8aca95c13e6d14f70b8f884075a4a3185ab9ef58 (patch)
treea3371a3af6f5c71bafb489801cef90683d2236cb /mk/install
parent66973002114006af3a15c108a6caa4240108435d (diff)
downloadpkgsrc-8aca95c13e6d14f70b8f884075a4a3185ab9ef58.tar.gz
Don't bother the admin to create a directory from MAKE_DIRS if it already
exists on the system. We still make noise about directories in MAKE_DIRS_PERMS because those directories must have special permissions that the admin should check, even if they do exist.
Diffstat (limited to 'mk/install')
-rw-r--r--mk/install/install5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/install/install b/mk/install/install
index be453aa0394..0f65c9491da 100644
--- a/mk/install/install
+++ b/mk/install/install
@@ -1,6 +1,6 @@
# start of install
#
-# $NetBSD: install,v 1.9 2002/06/20 20:15:50 jlam Exp $
+# $NetBSD: install,v 1.10 2002/06/27 20:46:31 jlam Exp $
case ${STAGE} in
PRE-INSTALL)
@@ -126,6 +126,9 @@ POST-INSTALL)
-n "${MAKE_DIRS_PERMS}" -o -n "${OWN_DIRS_PERMS}" ]; then
eval set -- ${MAKE_DIRS} ${OWN_DIRS}
for dir; do
+ if [ -d "${dir}" ]; then
+ continue
+ fi
if [ "${_PKG_CONFIG}" = "NO" ]; then
if [ ${_print_line} -gt 0 ]; then
_print_line=0