Sophie

Sophie

distrib > Fedora > 13 > i386 > media > os > by-pkgid > 062129d355404398fe29cd8b924cdc69 > scriptlet

tinyproxy-1.6.5-1.fc13.i686.rpm

PREUN

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

POSTIN

/bin/sh
/sbin/chkconfig --add tinyproxy

POSTUN

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