freebsd-ports/mail/dcc-dccd/files/pkg-deinstall.in
Philip M. Gollucci 706d3cf77d - Use SUB_FILES to Update pkg-install & deinstall
PR:             ports/142811
Submitted by:   Sevan Janiyan <venture37@geeklan.co.uk>
Approved by:    maintainer timeout (cgreen@sentex.net; > 2 weeks)
2010-01-31 03:45:21 +00:00

13 lines
335 B
Bash

#!/bin/sh
# $FreeBSD: /tmp/pcvs/ports/mail/dcc-dccd/files/Attic/pkg-deinstall.in,v 1.1 2010-01-31 03:45:21 pgollucci Exp $
if [ "$2" != "POST-DEINSTALL" ]; then
exit 0
fi
DCCUSER=%%DCCUSER%%
if pw usershow "${DCCUSER}" 2>/dev/null 1>&2; then
echo "To delete ${DCCUSER} user permanently, use 'pw userdel \"${DCCUSER}\"'"
fi
exit 0