desktop/virtualbox/virtualbox-host-dkms.install
2018-11-09 13:34:11 +01:00

16 lines
477 B
Bash

#!/bin/bash
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
if (( $(vercmp $2 5.0.16-3) < 0 )); then
echo '==> Since version 5.0.16-2 kernel modules are loaded at boot by systemd-modules-load.'
echo '==> Read modules-load.d man page to disable them.'
fi
echo 'Installing VirtualBox host DKMS modules'
vboxver=5.2.22
dkms autoinstall /usr/src/vboxhost-${vboxver}_OSE/dkms.conf || return 0
}
# vim:set ts=2 sw=2 ft=sh et: