2004-06-23 13:02:45 +00:00
|
|
|
#!/bin/sh
|
2000-05-16 14:18:46 +00:00
|
|
|
|
2004-06-23 13:02:45 +00:00
|
|
|
if [ "$2" != "POST-DEINSTALL" ]; then
|
|
|
|
exit 0
|
2000-05-16 14:18:46 +00:00
|
|
|
fi
|
|
|
|
|
2002-04-26 18:52:12 +00:00
|
|
|
USER=jabber
|
2000-05-16 14:18:46 +00:00
|
|
|
|
2004-06-23 13:02:45 +00:00
|
|
|
if pw usershow "${USER}" 2>/dev/null 1>&2; then
|
|
|
|
echo "To delete Jabber user permanently, use 'pw userdel ${USER}'"
|
2000-05-16 14:18:46 +00:00
|
|
|
fi
|
|
|
|
|
2004-06-23 13:02:45 +00:00
|
|
|
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
|