PREUN
/bin/sh
if [ $1 = 0 ] ; then ### Uninstall package ### # stop services and remove autostart /sbin/service ncid-kpopup stop > /dev/null 2>&1 || : /sbin/chkconfig --del ncid-kpopup fi
POSTIN
/bin/sh
/sbin/chkconfig --add ncid-kpopup
POSTUN
/bin/sh
if [ "$1" -ge "1" ]; then ### upgrade package ### # restart services if running /sbin/service ncid-kpopup condrestart >/dev/null 2>&1 || : fi