Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 837eb0c001144bb182faba3cbf13d288 > scriptlet

oddjob-0.31-2.fc15.i686.rpm

PREUN

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

POSTIN

/bin/sh
if test $1 -eq 1 ; then
	killall -HUP dbus-daemon 2>&1 > /dev/null
fi
/sbin/chkconfig --add oddjobd

POSTUN

/bin/sh
if [ $1 -gt 0 ] ; then
	/sbin/service oddjobd condrestart 2>&1 > /dev/null || :
fi
exit 0