diff options
-rw-r--r-- | mk/pkginstall/files | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/pkginstall/files b/mk/pkginstall/files index 0b13f497324..66db1885682 100644 --- a/mk/pkginstall/files +++ b/mk/pkginstall/files @@ -1,4 +1,4 @@ -# $NetBSD: files,v 1.6 2008/09/25 14:01:46 wiz Exp $ +# $NetBSD: files,v 1.7 2012/04/17 11:55:33 wiz Exp $ # # Generate a +FILES script that reference counts config files that are # required for the proper functioning of the package. @@ -159,6 +159,8 @@ 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 |