Sophie

Sophie

distrib > Mandriva > current > x86_64 > media > contrib-testing > by-pkgid > 61daa1a2ae8cac95011264c0e5222492 > scriptlet

zarafa-spooler-6.40.0-3mdv2010.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