diff options
author | glewis <glewis@FreeBSD.org> | 2004-02-03 14:43:06 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2004-02-03 14:43:06 +0800 |
commit | 1716ebfd876e9b508674496fd5f6c270d971252b (patch) | |
tree | 61fef3e96657fe91efdd55aa556d4baaa985ff5b /security | |
parent | a5dad72b3e6f9983b8971ef652b20008951773e5 (diff) | |
download | freebsd-ports-gnome-1716ebfd876e9b508674496fd5f6c270d971252b.tar.gz freebsd-ports-gnome-1716ebfd876e9b508674496fd5f6c270d971252b.tar.zst freebsd-ports-gnome-1716ebfd876e9b508674496fd5f6c270d971252b.zip |
. 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')
-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 |