mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
Do not call ${CHOWN} if INSTALL_AS_USER is set.
This commit is contained in:
parent
fdf2b375d5
commit
0f9d45de73
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=176712
@ -48,7 +48,9 @@ post-install:
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${TAR} -C ${WRKSRC}/doc --exclude '*Makefile*' -cf - . \
|
||||
| ${TAR} -C ${DOCSDIR} --unlink -xf -
|
||||
.if !defined(INSTALL_AS_USER)
|
||||
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user