Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > 2ca053a183e500291a0751fa82969934 > scriptlet

icecast-2.3.2-4.fc13.i686.rpm

PREIN

/bin/sh
/usr/sbin/useradd -M -r -d /usr/share/icecast -s /sbin/nologin \
	-c "icecast streaming server" icecast > /dev/null 2>&1 || :

PREUN

/bin/sh
if [ $1 = 0 ]; then
        /sbin/service icecast stop >/dev/null 2>&1
        /sbin/chkconfig --del icecast
fi

POSTIN

/bin/sh
/sbin/chkconfig --add icecast

POSTUN

/bin/sh
if [ "$1" -ge "1" ]; then
        /sbin/service icecast condrestart >/dev/null 2>&1
fi
if [ $1 = 0 ] ; then
	userdel icecast >/dev/null 2>&1 || :
fi