Sophie

Sophie

distrib > Scientific%20Linux > 5x > i386 > by-pkgid > 1c6f4b3e509198a54a966c810e0fd84a > scriptlet

virt-who-0.9-6.el5.noarch.rpm

PREUN

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

POSTIN

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

POSTUN

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