aboutsummaryrefslogtreecommitdiffstats
path: root/www/moinmoin/files
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-05-15 06:02:22 +0800
committerpat <pat@FreeBSD.org>2002-05-15 06:02:22 +0800
commitbd796044bbd831dd711ea6c53c5922ce54d4f2e6 (patch)
tree0dd92593d163326f924e380bb54b96e3bfe19754 /www/moinmoin/files
parent091f876fa4a477b351e64b74032f5aab7107c72c (diff)
downloadfreebsd-ports-gnome-bd796044bbd831dd711ea6c53c5922ce54d4f2e6.tar.gz
freebsd-ports-gnome-bd796044bbd831dd711ea6c53c5922ce54d4f2e6.tar.zst
freebsd-ports-gnome-bd796044bbd831dd711ea6c53c5922ce54d4f2e6.zip
Update to 1.0
PR: 37941 Submitted by: maintainer
Diffstat (limited to 'www/moinmoin/files')
-rw-r--r--www/moinmoin/files/configure.sh37
1 files changed, 0 insertions, 37 deletions
diff --git a/www/moinmoin/files/configure.sh b/www/moinmoin/files/configure.sh
deleted file mode 100644
index 3cdc44eccdba..000000000000
--- a/www/moinmoin/files/configure.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-# $FreeBSD$
-# * stolen from mailman port.
-
-USER=$1
-UID=$2
-GROUP=${USER}
-GID=${UID}
-
-if [ -z "$USER" -o -z "$UID" ]; then
- echo "Syntax: $0 <username> <uid>"
- exit 1
-fi
-
-if pw group show "${GROUP}" 2>/dev/null; then
- echo "You already have a group \"${GROUP}\", so I will use it."
-else
- if pw groupadd ${GROUP} -g ${GID}; then
- echo "Added group \"${GROUP}\"."
- else
- echo "Adding group \"${GROUP}\" failed..."
- exit 1
- fi
-fi
-
-if pw user show "${USER}" 2>/dev/null; then
- echo "You already have a user \"${USER}\", so I will use it."
-else
- if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \
- -d /notexistence -s /sbin/nologin -c "MoinMoin User"
- then
- echo "Added user \"${USER}\"."
- else
- echo "Adding user \"${USER}\" failed..."
- exit 1
- fi
-fi