diff options
author | groo <groo@pkgsrc.org> | 2000-04-04 18:57:33 +0000 |
---|---|---|
committer | groo <groo@pkgsrc.org> | 2000-04-04 18:57:33 +0000 |
commit | fd70dc86b7dd51b05de11e70e7ae810f3dc7b879 (patch) | |
tree | 4fbade1c01eddc1eba0e601c0b1e0c1a724f0e32 /mail | |
parent | 4e857b4e358befc3acd2e0e5a6d1e70cdcc9195f (diff) | |
download | pkgsrc-fd70dc86b7dd51b05de11e70e7ae810f3dc7b879.tar.gz |
negate group and user existence test
Diffstat (limited to 'mail')
-rw-r--r-- | mail/popa3d/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/popa3d/Makefile b/mail/popa3d/Makefile index bae25beea43..9b1131fff7d 100644 --- a/mail/popa3d/Makefile +++ b/mail/popa3d/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2000/04/03 02:12:27 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2000/04/04 18:57:33 groo Exp $ # DISTNAME= popa3d-0.4 @@ -20,12 +20,12 @@ GROUP_CMD= ${LOCALBASE}/sbin/group .endif do-install: - @if [ `${GROUP_CMD} info -e popa3d` ]; then \ + @if [ ! `${GROUP_CMD} info -e popa3d` ]; then \ ${GROUP_CMD} add popa3d; \ else \ ${ECHO} Group \'popa3d\' already exists.; \ fi - @if [ `${USER_CMD} info -e popa3d` ]; then \ + @if [ ! `${USER_CMD} info -e popa3d` ]; then \ ${USER_CMD} add -g popa3d -d /nonexistent -s /sbin/nologin \ popa3d; \ else \ |