Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > updates > by-pkgid > 93472f4b94a3b8bdafe3041295da58b5 > scriptlet

tigase-server-5.0.4-1.fc14.noarch.rpm

PREUN

/bin/sh
if [ $1 = 0 ] ; then
    /sbin/service tigase stop >/dev/null 2>&1
    /sbin/chkconfig --del tigase
fi
if [ "$1" -ge "1" ] ; then
    /sbin/service tigase condrestart >/dev/null 2>&1 || :
fi

POSTIN

/bin/sh
# This adds the proper /etc/rc*.d links for the script
/sbin/chkconfig --add tigase