blob: 32b25c24a4d10d56a49c304c8f8f9aa123785440 (
plain) (
tree)
|
|
#!/bin/sh
# $FreeBSD: /tmp/pcvs/ports/security/clamav/files/pkg-deinstall.in,v 1.2 2007-02-16 00:19:32 garga Exp $
if [ "$2" != "POST-DEINSTALL" ]; then
exit 0
fi
CLAMAVUSER=%%CLAMAVUSER%%
echo
echo "===================================================="
echo
echo "If you want remove clamav permanently from you system"
echo "execute following commands:"
echo
echo " # rm -rf %%LOGDIR%%"
echo " # rm -rf %%RUNDIR%%"
echo " # rm -rf %%DBDIR%%"
if pw usershow "${CLAMAVUSER}" 2>/dev/null 1>&2; then
echo " # pw userdel ${CLAMAVUSER}"
fi
echo
echo "===================================================="
echo
exit 0
|