Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 0e45b7b2145d61fddbe6ee340da867bc > scriptlet

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