Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > a7adc2ad9c8bdbe8d826c36239a21127 > scriptlet

ncid-kpopup-0.76-1.fc13.noarch.rpm

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