mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
3bc6a87b33
PR: ports/66307 Submitted by: c0decafe.net Approved by: maintainer timeout
20 lines
414 B
Bash
20 lines
414 B
Bash
#!/bin/sh
|
|
|
|
if [ "$2" != "POST-DEINSTALL" ]; then
|
|
exit 0
|
|
fi
|
|
|
|
USER=jabber
|
|
|
|
if pw usershow "${USER}" 2>/dev/null 1>&2; then
|
|
echo "To delete Jabber user permanently, use 'pw userdel ${USER}'"
|
|
fi
|
|
|
|
if pw groupshow "${USER}" 2>/dev/null 1>&2; then
|
|
echo "To delete Jabber group permanently, use 'pw groupdel ${USER}'"
|
|
fi
|
|
|
|
echo "If you wish to delete jabber data files, remove '/var/spool/jabber' directory."
|
|
|
|
exit 0
|