#!/bin/sh # $FreeBSD: ports/mail/majordomo/pkg-deinstall,v 1.1 2007/03/01 20:56:42 anders Exp $ MAJORDOMOUSER=majordom MAJORDOMOGROUP=majordom case $2 in POST-DEINSTALL) if pw groupshow "${MAJORDOMOGROUP}" 2>/dev/null 1>&2; then echo "To delete ${MAJORDOMOGROUP} group permanently, use 'pw groupdel \"${MAJORDOMOGROUP}\"'" fi if pw usershow "${MAJORDOMOUSER}" 2>/dev/null 1>&2; then echo "To delete ${MAJORDOMOUSER} user permanently, use 'pw userdel \"${MAJORDOMOUSER}\"'" fi ;; esac exit 0