Sophie

Sophie

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

sblim-cmpi-fsvol-1.5.1-51.el5.i386.rpm

PREIN

/bin/sh
# If upgrading, deregister old version
if [ $1 -gt 1 ]; then
  /usr/share/sblim-cmpi-fsvol/provider-register.sh -d \
    -t pegasus -r /usr/share/sblim-cmpi-fsvol/Linux_Fsvol.registration -m /usr/share/sblim-cmpi-fsvol/Linux_Fsvol.mof > /dev/null 2>&1 || :;
fi

PREUN

/bin/sh
# Deregister only if not upgrading 
if [ $1 -eq 0 ]; then
  /usr/share/sblim-cmpi-fsvol/provider-register.sh -d \
    -t pegasus -r /usr/share/sblim-cmpi-fsvol/Linux_Fsvol.registration -m /usr/share/sblim-cmpi-fsvol/Linux_Fsvol.mof > /dev/null 2>&1 || :;
fi

POSTIN

/bin/sh
/sbin/ldconfig
if [ $1 -ge 1 ]; then
# Register Schema and Provider - this is higly provider specific
/usr/share/sblim-cmpi-fsvol/provider-register.sh \
    -t pegasus -r /usr/share/sblim-cmpi-fsvol/Linux_Fsvol.registration -m /usr/share/sblim-cmpi-fsvol/Linux_Fsvol.mof > /dev/null 2>&1 || :;
fi;

POSTUN

/bin/sh
/sbin/ldconfig