summaryrefslogtreecommitdiff
path: root/mail/popa3d
diff options
context:
space:
mode:
authorgroo <groo>2000-04-12 03:39:43 +0000
committergroo <groo>2000-04-12 03:39:43 +0000
commit3194175692bf6174c8abd5e3a9741ce501ef5d4b (patch)
treeb71ef2a79f4ea35b3d46104cb380065f0d7586e2 /mail/popa3d
parentd20afa3334607bb805d7dd674857d51fa78b608b (diff)
downloadpkgsrc-3194175692bf6174c8abd5e3a9741ce501ef5d4b.tar.gz
Fix my braino which built on previous braino. We are *not* interested in
testing the *output* of ${GROUP_CMD} or ${USER_CMD}, merely the exit status.
Diffstat (limited to 'mail/popa3d')
-rw-r--r--mail/popa3d/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/mail/popa3d/Makefile b/mail/popa3d/Makefile
index 9b1131fff7d..9a443eea478 100644
--- a/mail/popa3d/Makefile
+++ b/mail/popa3d/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2000/04/04 18:57:33 groo Exp $
+# $NetBSD: Makefile,v 1.4 2000/04/12 03:39:43 groo Exp $
#
DISTNAME= popa3d-0.4
@@ -20,16 +20,16 @@ GROUP_CMD= ${LOCALBASE}/sbin/group
.endif
do-install:
- @if [ ! `${GROUP_CMD} info -e popa3d` ]; then \
- ${GROUP_CMD} add popa3d; \
- else \
+ @if `${GROUP_CMD} info -e popa3d`; then \
${ECHO} Group \'popa3d\' already exists.; \
+ else \
+ ${GROUP_CMD} add popa3d; \
fi
- @if [ ! `${USER_CMD} info -e popa3d` ]; then \
+ @if `${USER_CMD} info -e popa3d`; then \
+ ${ECHO} User \'popa3d\' already exists.; \
+ else \
${USER_CMD} add -g popa3d -d /nonexistent -s /sbin/nologin \
popa3d; \
- else \
- ${ECHO} User \'popa3d\' already exists.; \
fi
${INSTALL_PROGRAM} -o popa3d -g popa3d -m 700 ${WRKSRC}/popa3d \
${PREFIX}/libexec