2920a32c71
VIEW-DEINSTALL to the INSTALL/DEINSTALL scripts don't cause errors.
27 lines
638 B
Bash
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
|