summaryrefslogtreecommitdiff
path: root/mail/majordomo/DEINSTALL
blob: 77d27de2991f49538be2c37e02a3368070768e6c (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
26
27
#!/bin/sh
#
# $NetBSD: DEINSTALL,v 1.2 2003/08/30 20:22:56 jlam Exp $
#

PKGNAME=$1
STAGE=$2

USER=@MAJORDOMO_USER@
GROUP=@MAJORDOMO_GROUP@
HOME=@HOME@

case ${STAGE} in
POST-DEINSTALL)
	cat << EOF
===========================================================================
If you won't be using ${PKGNAME} any longer, you may want to
	- remove the \`${USER}' user.
	- remove his home directory \`${HOME}/${USER}'
	- remove the \`${GROUP}' group from /etc/group
	- remove majordomo aliases from /etc/mail/aliases and
          run newaliases
===========================================================================
EOF
	;;
esac
exit 0