summaryrefslogtreecommitdiff
path: root/mail/popa3d
diff options
context:
space:
mode:
authorgroo <groo@pkgsrc.org>2000-04-12 03:39:43 +0000
committergroo <groo@pkgsrc.org>2000-04-12 03:39:43 +0000
commit0a1069ec9e3096531c879542706402e27a2767a4 (patch)
treeb71ef2a79f4ea35b3d46104cb380065f0d7586e2 /mail/popa3d
parent8089b3add5708e73af4eb1f8970c85a77aa9d790 (diff)
downloadpkgsrc-0a1069ec9e3096531c879542706402e27a2767a4.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