aboutsummaryrefslogtreecommitdiff
path: root/mail/dkimproxy/files/pkg-deinstall.in
blob: 65b9aec55e4c9195584977854c6645cfca949e55 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
# $FreeBSD$

if [ "$2" != "POST-DEINSTALL" ]; then
	exit 0
fi

USERNAME=%%USER%%

if pw usershow "${USERNAME}" 2>/dev/null 1>&2; then
	echo "To delete ${USERNAME} user permanently, use 'pw userdel \"${USERNAME}\"'"
fi
exit 0