Sophie

Sophie

distrib > Scientific%20Linux > 5x > i386 > by-pkgid > 68abb40971c28499b4901ebe06ff5bd4 > scriptlet

sblim-gather-provider-plugins-virt-2.2.3-51.el5.i386.rpm

PREIN

/bin/sh
if [ $1 -gt 1 ]
then
  /usr/share/sblim-gather/provider-register.sh -t pegasus -d \
	-r /usr/share/sblim-gather/Linux_XenMetric.registration /usr/share/sblim-gather/Linux_KVMMetric.registration -m /usr/share/sblim-gather/Linux_XenMetric.mof /usr/share/sblim-gather/Linux_KVMMetric.mof > /dev/null 2>&1 || :;
  # don't let registration failure when server not running fail upgrade!
fi

PREUN

/bin/sh
# Deregister only if not upgrading 
if [ $1 -eq 0 ]
then
  /usr/share/sblim-gather/provider-register.sh -t pegasus -d \
	-r /usr/share/sblim-gather/Linux_XenMetric.registration /usr/share/sblim-gather/Linux_KVMMetric.registration -m /usr/share/sblim-gather/Linux_XenMetric.mof /usr/share/sblim-gather/Linux_KVMMetric.mof > /dev/null 2>&1 || :;
  # don't let registration failure when server not running fail erase!
fi

POSTIN

/bin/sh
/sbin/ldconfig
if [ $1 -ge 1 ]
then
  /usr/share/sblim-gather/provider-register.sh -t pegasus \
	-r /usr/share/sblim-gather/Linux_XenMetric.registration /usr/share/sblim-gather/Linux_KVMMetric.registration -m /usr/share/sblim-gather/Linux_XenMetric.mof /usr/share/sblim-gather/Linux_KVMMetric.mof > /dev/null 2>&1 || :;
  # don't let registration failure when server not running fail install!
fi

POSTUN

/bin/sh
/sbin/ldconfig