Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 819ff169e89064c74b43f24310860f7a > scriptlet

deltacloud-core-0.4.0-4.fc15.noarch.rpm

PREUN

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

POSTIN

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

POSTUN

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