diff options
Diffstat (limited to 'mk/install/header')
-rw-r--r-- | mk/install/header | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/install/header b/mk/install/header index a81d0cad664..17d41cbd972 100644 --- a/mk/install/header +++ b/mk/install/header @@ -2,7 +2,7 @@ # # start of header # -# $NetBSD: header,v 1.26 2004/04/27 18:31:08 tv Exp $ +# $NetBSD: header,v 1.27 2004/12/27 06:41:50 jlam Exp $ PKGNAME=$1 STAGE=$2 @@ -112,6 +112,9 @@ case "${PKG_CREATE_USERGROUP:-@PKG_CREATE_USERGROUP@}" in _PKG_CREATE_USERGROUP=NO ;; esac +if [ -z "${USERADD}" -o -z "${GROUPADD}" ]; then + _PKG_CREATE_USERGROUP=NO +fi case "${PKG_CONFIG:-@PKG_CONFIG@}" in [Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1) |