summaryrefslogtreecommitdiff
path: root/security/amavisd-new/files/pkg-deinstall.in
blob: 19a407b179fa901806591e83f6b0f34c8e9d5265 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
#
# $FreeBSD$
#

USER=%%AMAVISUSER%%
GROUP=%%AMAVISGROUP%%
DIR=%%AMAVISDIR%%
QUARANTINE=%%AMAVISQUARANTINE%%

if [ "$2" = "POST-DEINSTALL" ]; then

    if [ -e ${DIR} ]; then
	echo "You should manually remove the \"${DIR}\" directory."
    fi
    
    if [ -e ${QUARANTINE} ]; then
      echo "You should manually remove the \"${QUARANTINE}\" directory."
    fi
fi