Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > nonfree-updates > by-pkgid > cce9efaf508cef6fb2594efe684c3bca > scriptlet

dkms-broadcom-wl-6.30.223.271-48.1.mga6.nonfree.armv5tl.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-48.1.mga6.nonfree --all || :

POSTIN

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