#!/bin/sh
# $FreeBSD: ports/mail/dkfilter/files/pkg-deinstall.in,v 1.1 2006/07/29 02:07:43 rafan Exp $

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


syntax highlighted by Code2HTML, v. 0.9.1