8a3af76424
Give warning upon installing, majordomo is legacy. PR: 104686 Submitted by: erwin, anders
17 lines
428 B
Bash
17 lines
428 B
Bash
#!/bin/sh
|
|
# $FreeBSD$
|
|
|
|
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
|