freebsd-ports/security/clamav/pkg-deinstall
Greg Lewis 095206badd . Add a pkg-deinstall script telling people how they can get rid of the
clamav user permanently if they wish to.
2004-02-03 06:43:06 +00:00

13 lines
217 B
Bash

#!/bin/sh
# $FreeBSD$
if [ "$2" != "POST-DEINSTALL" ]; then
exit 0
fi
USER=clamav
if pw usershow "${USER}" 2>/dev/null 1>&2; then
echo "To delete ${USER} user permanently, use 'pw userdel \"${USER}\"'"
fi
exit 0