freebsd-ports/mail/popa3d/pkg-install
Dirk Meyer b8ac03da1e - update to 1.0
make portlint a bit happier
2005-05-27 08:01:26 +00:00

30 lines
394 B
Plaintext

# $FreeBSD$
#
if [ "$2" != "PRE-INSTALL" ]; then
exit 0
fi
PATH=/bin:/usr/bin
use_vipw () {
cat << EOF
You need an account "pop" to install this package.
Please add it by hand (try "man vipw") and try again.
An example passwd entry is:
pop:*:68:6::0:0:Post Office Owner:/nonexistent:/nonexistent
EOF
}
if ! id -u "pop" > /dev/null 2>&1; then
use_vipw
exit 1
fi
exit 0