diff options
-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 00000000000..fa1db68a692 --- /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 |