summaryrefslogtreecommitdiff
path: root/mail/popa3d/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2000-04-03 02:12:27 +0000
committerwiz <wiz>2000-04-03 02:12:27 +0000
commit5b6a1672468e9dc60435e6d3e14bd797a383f097 (patch)
tree5f0b313aff8b42ab205eb4e92afe2d018c237831 /mail/popa3d/Makefile
parent3a61c16373814d4812e8a512bf249b0b88cb2fb7 (diff)
downloadpkgsrc-5b6a1672468e9dc60435e6d3e14bd797a383f097.tar.gz
correct user addition handling, patch slightly differently.
Diffstat (limited to 'mail/popa3d/Makefile')
-rw-r--r--mail/popa3d/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/popa3d/Makefile b/mail/popa3d/Makefile
index c84f20e6ef9..bae25beea43 100644
--- a/mail/popa3d/Makefile
+++ b/mail/popa3d/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2000/04/02 01:32:28 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2000/04/03 02:12:27 wiz Exp $
#
DISTNAME= popa3d-0.4
@@ -21,15 +21,15 @@ GROUP_CMD= ${LOCALBASE}/sbin/group
do-install:
@if [ `${GROUP_CMD} info -e popa3d` ]; then \
- ${ECHO} Group \'popa3d\' already exists.; \
- else \
${GROUP_CMD} add popa3d; \
+ else \
+ ${ECHO} Group \'popa3d\' already exists.; \
fi
@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