Sophie

Sophie

distrib > Mageia > 6 > armv5tl > by-pkgid > adc6968c778697e68232a5b7eceb20fb > scriptlet

dkms-2.0.19-39.mga6.noarch.rpm

PREIN

/bin/sh
if [ $1 -eq 2 ] ; then
    if [ -f /usr/lib/systemd/system/dkms-autorebuild.service ] ; then
        touch /var/lib/rpm-state/dkms-autorebuild-installed
    fi
fi

PREUN

/bin/sh
/usr/share/rpm-helper/del-service dkms $1 dkms-autorebuild

POSTIN

/bin/sh
if [ -f /var/lib/rpm-state/dkms-autorebuild-installed ] ; then
    # We are upgrading from a version that included the dkms-autorebuild
    # service.
    rm /var/lib/rpm-state/dkms-autorebuild-installed
else
    # We are either installing or upgrading from a version that didn't
    # include the dkms-autorebuild service. Force it to be installed.
    set -- 1
fi
/usr/share/rpm-helper/add-service dkms $1 dkms-autorebuild

Triggers

dkms < 2.0.19-11

/bin/sh
rm -f /etc/rc.d/*/{K,S}??dkms