summaryrefslogblamecommitdiff
path: root/net/spread/pkg-deinstall
blob: 1bc2206605ca657962285dd559a9d8af722c4428 (plain) (tree)




























                                                                             
#!/bin/sh
#
# $FreeBSD$

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

USER=spread
GROUP=spread

echo "===> deinstall note:"
echo "      Please note that user ${USER} and group ${GROUP} was not removed"
echo "      from this system:"
echo ""

if pw usershow "${USER}" 2>/dev/null 1>&2; then
	echo "      To delete spread user permanently"
	echo "         $ pw userdel ${USER}"
	echo ""
fi

if pw groupshow "${GROUP}" 2>/dev/null 1>&2; then
	echo "      To delete spread group permanently"
	echo "         $ pw groupdel ${GROUP}"
	echo ""
fi

exit 0