diff options
author | wiz <wiz@pkgsrc.org> | 2012-04-21 10:22:32 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2012-04-21 10:22:32 +0000 |
commit | 9f64568e103dd4f30cfc1f9ed1b12eeba5bc2586 (patch) | |
tree | f75bb2b01aa43556fad4faf333612e313dfb9def | |
parent | 0deb8ee519558bfb2a8db089ac1a19e63ff1b5a5 (diff) | |
download | pkgsrc-9f64568e103dd4f30cfc1f9ed1b12eeba5bc2586.tar.gz |
Revert previous: Patch submitter reports it's not necessary after all
since -f usually follows symlinks.
-rw-r--r-- | mk/pkginstall/files | 4 |
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 |