Sophie

Sophie

distrib > Fedora > 20 > x86_64 > by-pkgid > 02835287f06aeefec5debb0b891a8003 > scriptlet

openlmi-powermanagement-0.4.2-2.fc20.x86_64.rpm

PREIN

/bin/sh
if [ "$1" -gt 1 ]; then
    /usr/bin/openlmi-mof-register -v 0.4.2 unregister \
        /usr/share/openlmi-providers/60_LMI_PowerManagement.mof \
        /usr/share/openlmi-providers/60_LMI_PowerManagement.reg || :;
    /usr/bin/openlmi-mof-register --just-mofs -n root/interop -c tog-pegasus unregister \
        /usr/share/openlmi-providers/90_LMI_PowerManagement_Profile.mof || :;
fi >> /var/log/openlmi-install.log 2>&1

PREUN

/bin/sh
if [ "$1" -eq 0 ]; then
    /usr/bin/openlmi-mof-register -v 0.4.2 unregister \
        /usr/share/openlmi-providers/60_LMI_PowerManagement.mof \
        /usr/share/openlmi-providers/60_LMI_PowerManagement.reg || :;
    /usr/bin/openlmi-mof-register --just-mofs -n root/interop -c tog-pegasus unregister \
        /usr/share/openlmi-providers/90_LMI_PowerManagement_Profile.mof || :;
fi >> /var/log/openlmi-install.log 2>&1

POSTIN

/bin/sh
if [ "$1" -ge 1 ]; then
    /usr/bin/openlmi-mof-register -v 0.4.2 register \
        /usr/share/openlmi-providers/60_LMI_PowerManagement.mof \
        /usr/share/openlmi-providers/60_LMI_PowerManagement.reg || :;
    /usr/bin/openlmi-mof-register --just-mofs -n root/interop -c tog-pegasus register \
        /usr/share/openlmi-providers/90_LMI_PowerManagement_Profile.mof || :;
fi >> /var/log/openlmi-install.log 2>&1