mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
Only make the pkg-plist start with @owner and @group if root is not needed
This commit is contained in:
parent
f1a178ff3c
commit
2cf20aa209
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328131
@ -5728,7 +5728,7 @@ generate-plist:
|
||||
@${ECHO_MSG} "===> Generating temporary packing list"
|
||||
@${MKDIR} `${DIRNAME} ${TMPPLIST}`
|
||||
@if [ ! -f ${DESCR} ]; then ${ECHO_MSG} "** Missing pkg-descr for ${PKGNAME}."; exit 1; fi
|
||||
.if defined(NO_STAGE)
|
||||
.if defined(NO_STAGE) || defined(NEED_ROOT)
|
||||
@>${TMPPLIST}
|
||||
.else
|
||||
@${ECHO_CMD} -e "@owner root\n@group wheel" >${TMPPLIST}
|
||||
|
Loading…
Reference in New Issue
Block a user