diff options
author | jlam <jlam> | 2002-06-27 20:46:31 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-06-27 20:46:31 +0000 |
commit | d8801e26c29f4d44ce7a7ab5916bc8b46c9e6a11 (patch) | |
tree | a3371a3af6f5c71bafb489801cef90683d2236cb /mk/install | |
parent | cab0890bd44e54528f62c550ee5185a87e46f40d (diff) | |
download | pkgsrc-d8801e26c29f4d44ce7a7ab5916bc8b46c9e6a11.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/install | 5 |
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 |