diff options
Diffstat (limited to 'audio/linux-shoutcast/pkg-deinstall')
-rw-r--r-- | audio/linux-shoutcast/pkg-deinstall | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/linux-shoutcast/pkg-deinstall b/audio/linux-shoutcast/pkg-deinstall new file mode 100644 index 000000000000..21bac56cda91 --- /dev/null +++ b/audio/linux-shoutcast/pkg-deinstall @@ -0,0 +1,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 |