summaryrefslogtreecommitdiff
path: root/mail/qmail/DEINSTALL
blob: 60ec34c9034c45f4ad7dc75244b0b1d0406a0100 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $NetBSD: DEINSTALL,v 1.4 2004/07/21 22:35:59 schmonz Exp $

QMAILDIR=@QMAILDIR@

VAR_QMAIL_DIRS="alias bin boot control doc man queue users"

case "${STAGE}" in

POST-DEINSTALL)

	for dir in $VAR_QMAIL_DIRS; do
		if [ -h ${QMAILDIR}/$dir ]; then
			${RM} -f ${QMAILDIR}/$dir
		fi
	done

	${CAT} <<EOF
===========================================================================

You may remove the qmail-users package now, as it is no longer needed.

===========================================================================
EOF
	;;
esac