mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
8a3af76424
Give warning upon installing, majordomo is legacy. PR: 104686 Submitted by: erwin, anders
18 lines
428 B
Bash
18 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
|