diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2006-07-27 16:26:39 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2006-07-27 16:26:39 +0000 |
commit | 338e2198a3a979bb99404832ecb26c1687476c1a (patch) | |
tree | dfd3bf2fee6860f8f5503b34306f288fe77bcd52 /mail/dkimproxy/files/pkg-deinstall.in | |
parent | c6df86859dce1a7aceaafe2a7b09e19eefe7fb9b (diff) | |
download | ports-338e2198a3a979bb99404832ecb26c1687476c1a.tar.gz ports-338e2198a3a979bb99404832ecb26c1687476c1a.zip |
Notes
Diffstat (limited to 'mail/dkimproxy/files/pkg-deinstall.in')
-rw-r--r-- | mail/dkimproxy/files/pkg-deinstall.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/dkimproxy/files/pkg-deinstall.in b/mail/dkimproxy/files/pkg-deinstall.in new file mode 100644 index 000000000000..65b9aec55e4c --- /dev/null +++ b/mail/dkimproxy/files/pkg-deinstall.in @@ -0,0 +1,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 |