d6a7b027fc
- Create the bogomilter user with /sbin/nologin as shell and /nonexistent as home directory - Update the maintainer's email address Moreover: - Unconditionally define PORTDOCS, as ${NOPORTDOCS} is now tested by bsd.port.mk - Install manual page in ${MAN8PREFIX} [1]: PR: ports/82583 Submitted by: maintainer
18 lines
330 B
Bash
18 lines
330 B
Bash
#!/bin/sh
|
|
|
|
if [ "$2" != "POST-INSTALL" ]
|
|
then
|
|
exit 0;
|
|
fi
|
|
|
|
# check if bogomilter user exists
|
|
pw user show bogomilter > /dev/null 2>&1
|
|
|
|
if [ $? != 0 ]
|
|
then
|
|
echo "===> Adding user bogomilter"
|
|
pw useradd bogomilter -u 174 -c "milter-bogom" -s /sbin/nologin \
|
|
-d /nonexistent
|
|
else
|
|
echo "===> Using existing user bogomilter"
|
|
fi
|