Sophie

Sophie

distrib > Mageia > 8 > i586 > media > nonfree-updates > by-pkgid > ca5a2d2111fc295fab2d1ef10667e3a3 > scriptlet

dkms-broadcom-wl-6.30.223.271-65.mga8.nonfree.i586.rpm

PREUN

/bin/sh
# rmmod can fail
/sbin/rmmod wl >/dev/null 2>&1 ||:
set -x
/usr/sbin/dkms --rpm_safe_upgrade remove -m broadcom-wl -v 6.30.223.271-65.mga8.nonfree --all || :

POSTIN

/bin/sh
set -x
/usr/sbin/dkms --rpm_safe_upgrade add -m broadcom-wl -v 6.30.223.271-65.mga8.nonfree
if [ -z "$DURING_INSTALL" ] ; then
    /usr/sbin/dkms --rpm_safe_upgrade build -m broadcom-wl -v 6.30.223.271-65.mga8.nonfree &&
    /usr/sbin/dkms --rpm_safe_upgrade install -m broadcom-wl -v 6.30.223.271-65.mga8.nonfree
fi