Sophie

Sophie

distrib > Fedora > 14 > i386 > media > updates > by-pkgid > df2ce2ceb6f14d0bbfa7b4aaf42dfa1e > scriptlet

zarafa-gateway-7.0.3-1.fc14.i686.rpm

PREUN

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

POSTIN

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

POSTUN

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