PREUN
/bin/sh
dkms remove -m fuse -v 2.3.0 --rpm_safe_upgrade --all ||:
POSTIN
/bin/sh
dkms add -m fuse -v 2.3.0 --rpm_safe_upgrade dkms build -m fuse -v 2.3.0 --rpm_safe_upgrade dkms install -m fuse -v 2.3.0 --rpm_safe_upgrade if [ $1 = 1 ]; then grep '[^#]*fuse' /etc/modprobe.preload || echo fuse >> /etc/modprobe.preload modprobe fuse fi
POSTUN
/bin/sh
if [ $1 = 0 ]; then sed -i '/.*fuse/d' /etc/modprobe.preload fi