. Add a pkg-deinstall script telling people how they can get rid of the

clamav user permanently if they wish to.
This commit is contained in:
Greg Lewis 2004-02-03 06:43:06 +00:00
parent b62a486d8f
commit 095206badd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=99865

View File

@ -0,0 +1,13 @@
#!/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