summaryrefslogtreecommitdiff
path: root/sys-kernel/virtualbox-guest-dkms/.INSTALL
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-06-04 17:08:18 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-06-04 17:08:18 +0100
commitd04f743cd221602c64d13f5b6918ea6e21ff4f51 (patch)
tree72b190cfab4eb98fe0641549dcc6fc48162f828c /sys-kernel/virtualbox-guest-dkms/.INSTALL
parent0169682f925b1b2e374a62fd607ecf80b3ea3b52 (diff)
bring virtualbox-guest-dkms back
Diffstat (limited to 'sys-kernel/virtualbox-guest-dkms/.INSTALL')
-rw-r--r--sys-kernel/virtualbox-guest-dkms/.INSTALL12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-kernel/virtualbox-guest-dkms/.INSTALL b/sys-kernel/virtualbox-guest-dkms/.INSTALL
new file mode 100644
index 00000000..e15beac0
--- /dev/null
+++ b/sys-kernel/virtualbox-guest-dkms/.INSTALL
@@ -0,0 +1,12 @@
+#!/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
+}
+
+# vim:set ts=2 sw=2 ft=sh et: