Sophie

Sophie

distrib > Fedora > 13 > x86_64 > by-pkgid > 17fefee16d8b72ceb3b03716434d3f17 > scriptlet

mt-daapd-0.2.4.2-6.fc12.x86_64.rpm

PREIN

/bin/sh
/usr/sbin/fedora-groupadd 72 -r mt-daapd &>/dev/null || :
/usr/sbin/fedora-useradd  72 -r -s /sbin/nologin -d /var/lib/mt-daapd -M -c 'mt-daapd' -g mt-daapd mt-daapd &>/dev/null || :

PREUN

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

POSTIN

/bin/sh
/sbin/chkconfig --add mt-daapd

POSTUN

/bin/sh
if [ "$1" -ge "1" ]; then
        /sbin/service mt-daapd condrestart >/dev/null 2>&1 || :
fi
test "$1" != 0 || /usr/sbin/fedora-userdel  mt-daapd &>/dev/null || :
test "$1" != 0 || /usr/sbin/fedora-groupdel mt-daapd &>/dev/null || :