aboutsummaryrefslogtreecommitdiffstats
path: root/dns/adsuck/pkg-deinstall
blob: b9e79cff364c51c404dc286ea1be83d5e933b687 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

if [ "$2" != "POST-DEINSTALL" ]; then
    exit 0
fi

if pw groupshow _adsuck 2>/dev/null 1>&2; then
    echo "To delete the '_adsuck' group permanently, use 'pw groupdel _adsuck'"
fi

if pw usershow _adsuck 2>/dev/null 1>&2; then
    echo "To delete the '_adsuck' user permanently, use 'pw userdel _adsuck'"
fi

exit 0