1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/mail/popa3d/pkg-install
Michael Haro 3acc3fb9e4 various port fixes
PR:		17180
Submitted by:	maintainer
2000-04-01 03:39:48 +00:00

31 lines
395 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