PREIN
/bin/sh
/usr/sbin/useradd -o -r -M -s /bin/bash -d /var/zope -c "Zope Server" zope >/dev/null 2>&1
PREUN
/bin/sh
if [ "$1" = 0 ] ; then
if [ /var/zope/zserver_wo_pcgi.sh -ef /var/zope/zserver.sh ]; then
rm /var/zope/zserver.sh
fi
if [ /usr/share/zope/import -ef /var/zope/import ]; then
rm /var/zope/import
fi
/sbin/chkconfig --del zope
fi
POSTIN
/bin/sh
/sbin/chkconfig --add zope
ln -sf /var/zope/zserver_wo_pcgi.sh /var/zope/zserver.sh
ln -sf /usr/share/zope/import /var/zope/import
POSTUN
/bin/sh
if [ $1 = 0 ] ; then
userdel zope >/dev/null 2>&1 || :
fi