Sophie

Sophie

distrib > Fedora > 14 > i386 > media > os > by-pkgid > 1bb454ef58c946e9a0cf3e1d6671d37a > scriptlet

ncid-speak-0.78-2.fc14.noarch.rpm

PREUN

/bin/sh
if [ $1 = 0 ] ; then ### Uninstall package ###
    # stop services and remove autostart
    /sbin/service ncid-speak stop > /dev/null 2>&1 || :
    /sbin/chkconfig --del ncid-speak
fi

POSTIN

/bin/sh
/sbin/chkconfig --add ncid-speak

POSTUN

/bin/sh
if [ "$1" -ge "1" ]; then ### upgrade package ###
    # restart service if running
    /sbin/service ncid-speak condrestart >/dev/null 2>&1 || :
fi