freebsd-ports/audio/shoutcast/pkg-deinstall
Ion-Mihai Tetcu 296338fdfb - Mark restricted instead of NO_PACKAGE, since we're not allowed to distribute
the sources.
- don't overwrite .conf file and install it as .saple also
- fix pkg-deinstall
- add CONLFICTS with upcomming linux binary port
- bump PORTREVISION

Submitted by:	maintainer
Approved by:	lawrance (mentor, implicit)
2006-06-05 10:35:35 +00:00

16 lines
243 B
Bash

#!/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