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