aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2004-02-03 14:43:06 +0800
committerglewis <glewis@FreeBSD.org>2004-02-03 14:43:06 +0800
commit1716ebfd876e9b508674496fd5f6c270d971252b (patch)
tree61fef3e96657fe91efdd55aa556d4baaa985ff5b /security
parenta5dad72b3e6f9983b8971ef652b20008951773e5 (diff)
downloadfreebsd-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-deinstall13
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