summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2012-04-21 10:22:32 +0000
committerwiz <wiz@pkgsrc.org>2012-04-21 10:22:32 +0000
commit9f64568e103dd4f30cfc1f9ed1b12eeba5bc2586 (patch)
treef75bb2b01aa43556fad4faf333612e313dfb9def /mk
parent0deb8ee519558bfb2a8db089ac1a19e63ff1b5a5 (diff)
downloadpkgsrc-9f64568e103dd4f30cfc1f9ed1b12eeba5bc2586.tar.gz
Revert previous: Patch submitter reports it's not necessary after all
since -f usually follows symlinks.
Diffstat (limited to 'mk')
-rw-r--r--mk/pkginstall/files4
1 files changed, 1 insertions, 3 deletions
diff --git a/mk/pkginstall/files b/mk/pkginstall/files
index 66db1885682..6761966e2db 100644
--- a/mk/pkginstall/files
+++ b/mk/pkginstall/files
@@ -1,4 +1,4 @@
-# $NetBSD: files,v 1.7 2012/04/17 11:55:33 wiz Exp $
+# $NetBSD: files,v 1.8 2012/04/21 10:22:32 wiz Exp $
#
# Generate a +FILES script that reference counts config files that are
# required for the proper functioning of the package.
@@ -159,8 +159,6 @@ ADD)
*f*:*:*|[!r]:yes:*|[!r][!r]:yes:*|[!r][!r][!r]:yes:*|*r*:yes:yes)
if ${TEST} -f "$file"; then
${ECHO} "${PKGNAME}: $file already exists"
- elif ${TEST} -h "$file"; then
- ${ECHO} "${PKGNAME}: $file is a symlink"
elif ${TEST} -f "$f_eg" -o -c "$f_eg"; then
${ECHO} "${PKGNAME}: copying $f_eg to $file"
${CP} $f_eg $file