summaryrefslogtreecommitdiff
path: root/audio/shoutcast/pkg-deinstall
blob: 21bac56cda915bd8961276168abf9025f86cdce3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

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

SC_GROUP=shoutcast
SC_USER=shoutcast
SC_SHELL=/bin/sh
SC_HOME=/nonexistent
PW=/usr/sbin/pw

pw groupdel shoutcast >/dev/null 2>&1
pw userdel shoutcast >/dev/null 2>&1

exit 0