diff options
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 |