Tweak editors/scribes version 0.4.b954_1
[dports.git] / mail / popa3d / pkg-install
1 # $FreeBSD: head/mail/popa3d/pkg-install 340719 2014-01-22 15:52:06Z mat $
2 #
3
4 if [ "$2" != "PRE-INSTALL" ]; then
5     exit 0
6 fi
7
8 PATH=/bin:/usr/bin
9
10 use_vipw () {
11
12     cat << EOF
13
14 You need an account "pop" to install this package.
15 Please add it by hand (try "man vipw") and try again.
16
17 An example passwd entry is:
18 pop:*:68:6::0:0:Post Office Owner:/nonexistent:/nonexistent
19
20 EOF
21
22 }
23
24 if ! id -u "pop" > /dev/null 2>&1; then
25     use_vipw
26     exit 1
27 fi
28
29 exit 0