pkgsrc/mail/majordomo/DEINSTALL
jlam 2920a32c71 Prepare for pkgviews by making sure that passing VIEW-INSTALL or
VIEW-DEINSTALL to the INSTALL/DEINSTALL scripts don't cause errors.
2003-08-30 20:22:49 +00:00

27 lines
638 B
Bash

#!/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