summarylogtreecommitdiffstats
path: root/virtualbox-guest-dkms.install
blob: b82d87b5e46787ee85c944fb38a47cef74971b05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

# arg 1:  the new package version
# arg 2:  the old package version
pre_upgrade() {
	dkms remove vboxguest/svn_OSE --all
}
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
}

# vim:set ts=2 sw=2 ft=sh et: