diff options
Diffstat (limited to 'security/clamav/files/pkg-deinstall.in')
-rw-r--r-- | security/clamav/files/pkg-deinstall.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/security/clamav/files/pkg-deinstall.in b/security/clamav/files/pkg-deinstall.in new file mode 100644 index 000000000000..0075621d1650 --- /dev/null +++ b/security/clamav/files/pkg-deinstall.in @@ -0,0 +1,13 @@ +#!/bin/sh +# $FreeBSD: /tmp/pcvs/ports/security/clamav/files/pkg-deinstall.in,v 1.1 2005-05-13 08:16:40 jylefort Exp $ + +if [ "$2" != "POST-DEINSTALL" ]; then + exit 0 +fi + +CLAMAVUSER=%%CLAMAVUSER%% + +if pw usershow "${CLAMAVUSER}" 2>/dev/null 1>&2; then + echo "To delete ${CLAMAVUSER} user permanently, use 'pw userdel \"${CLAMAVUSER}\"'" +fi +exit 0 |