diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2004-02-03 06:43:06 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2004-02-03 06:43:06 +0000 |
commit | 095206badd592da68a57c2843412f35de97b76cb (patch) | |
tree | ca1eb35a36dfe868a9fe3d8727f4f0f3c2f3c882 /security/clamav/pkg-deinstall | |
parent | . Add $FreeBSD$ (diff) |
. Add a pkg-deinstall script telling people how they can get rid of the
clamav user permanently if they wish to.
Diffstat (limited to 'security/clamav/pkg-deinstall')
-rw-r--r-- | security/clamav/pkg-deinstall | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/security/clamav/pkg-deinstall b/security/clamav/pkg-deinstall new file mode 100644 index 000000000000..fa1db68a6929 --- /dev/null +++ b/security/clamav/pkg-deinstall @@ -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 |