PREUN
/bin/sh
/usr/sbin/Zope-timerserver_remover
POSTIN
/bin/sh
/usr/sbin/installzopeproduct /usr/share/Zope-TimerService TimerService
# ln -s /usr/lib64/python2.4/site-packages/timerserver /usr/lib/zope/lib/python/timerserver
echo "%import timerserver" >> /etc/zope/main/zope.conf
echo "<timer-server>" >> /etc/zope/main/zope.conf
echo "</timer-server>" >> /etc/zope/main/zope.conf
if [ -f /var/lock/subsys/zope ]; then
/etc/rc.d/init.d/zope restart >&2
fi
POSTUN
/bin/sh
if [ "$1" = "0" ]; then
/usr/sbin/installzopeproduct -d TimerService
if [ -f /var/lock/subsys/zope ]; then
/etc/rc.d/init.d/zope restart >&2
fi
fi