Sophie

Sophie

distrib > Mandriva > 2011.0 > x86_64 > media > contrib-testing > by-pkgid > ca374b9868e48dcce10666ca5ae36c85 > scriptlet

zarafa-spooler-7.0.8-1.x86_64.rpm

PREUN

/bin/sh
if [ $1 -eq 0 ]; then
    /sbin/service zarafa-spooler stop > /dev/null 2>&1 || :
    /sbin/chkconfig --del zarafa-spooler
fi

POSTIN

/bin/sh
[ $1 -eq 1 ] && /sbin/chkconfig --add zarafa-spooler
# Ensure correct log file ownership after upgrade from official packages
chown zarafa:zarafa /var/log/zarafa/spooler.* > /dev/null 2>&1 || :

POSTUN

/bin/sh
if [ $1 -ne 0 ]; then
    /sbin/service zarafa-spooler condrestart > /dev/null 2>&1 || :
fi