#!/bin/sh # # $FreeBSD: head/net-im/prosody/files/pkg-deinstall.in 348595 2014-03-18 20:19:34Z lx $ # case $2 in POST-DEINSTALL) echo "===> post-deinstallation information for $1:" echo "" echo " Note:" echo " Prosody related user accounts and groups were not removed." echo "" echo " To remove the user and group which were created by " echo " the installation of this package, run:" echo "" echo " pw userdel -n %%USERS%%" echo " pw groupdel -n %%GROUPS%%" echo "" echo " and to remove all server data:" echo " rm -rf /usr/local/var/lib/prosody" echo "" ;; esac exit 0