Sophie

Sophie

distrib > Fedora > 18 > x86_64 > media > updates > by-pkgid > 7f69d1f172e8780e8a1d6dc6ea8204ff > scriptlet

zarafa-spooler-7.1.7-1.fc18.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