mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
84e177390e
and popper3 ports. The manpages are patched accordingly. Pointed out by: sobomax
17 lines
433 B
Bash
17 lines
433 B
Bash
#!/bin/sh
|
|
if ! id -u pop > /dev/null 2>&1; then
|
|
echo "You need an account \"pop\" to install this package."
|
|
echo "Please add it by hand (try \"man vipw\") and try again."
|
|
echo ""
|
|
echo "An example passwd entry is:"
|
|
echo "pop:*:68:6::0:0:Post Office Owner:/nonexistent:/nonexistent"
|
|
echo ""
|
|
exit 1
|
|
fi
|
|
usrdir=${PREFIX}/etc/qpopper
|
|
if [ ! -d $usrdir ]; then
|
|
mkdir -p $usrdir
|
|
fi
|
|
chown pop.daemon $usrdir
|
|
chmod 700 $usrdir
|