aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/prosody/files/pkg-deinstall.in
blob: 91071be27459f39de850f31fde9a50d12477ec0c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

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 /var/db/prosody"
    echo "     rm -rf /var/run/prosody"
    echo ""
    ;;
esac
exit 0