PREUN
/bin/sh
if [ "$1" = 0 ]; then if [ -f /var/lock/subsys/clement ] ; then /etc/rc.d/init.d/clement stop fi export APPNAME=clement /var/lib/clement-2.1/support/remove.sh \ /var/spool/clement-2.1/*/* \ /etc/pki/clement-2.1/clement.pem \ /etc/clement-2.1/config.done /sbin/chkconfig --del clement fi
POSTIN
/bin/sh
if [ "$1" = 1 ]; then /sbin/chkconfig --add clement fi if [ "$1" = 2 ]; then if [ -f /var/lock/subsys/clement ] ; then /etc/rc.d/init.d/clement restart fi fi #before upgrade or remove