Sophie

Sophie

distrib > Fedora > 13 > i386 > media > os > by-pkgid > 2e8fc4942ec2c3d94e34b700ce799894 > scriptlet

cwdaemon-0.9.4-11.fc12.i686.rpm

PREUN

/bin/sh
if [ $1 = 0 ]; then
 /sbin/service cwdaemon stop > /dev/null 2>&1
 /sbin/chkconfig --del cwdaemon
fi

POSTIN

/bin/sh
/sbin/chkconfig --add cwdaemon

POSTUN

/bin/sh
if [ "$1" -ge "1" ] ; then
 /sbin/service cwdaemon condrestart >/dev/null 2>&1 || :
fi