summaryrefslogtreecommitdiff
path: root/pcr/bbswitch-parabola-grsec/kmod.install
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/bbswitch-parabola-grsec/kmod.install')
-rw-r--r--pcr/bbswitch-parabola-grsec/kmod.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/pcr/bbswitch-parabola-grsec/kmod.install b/pcr/bbswitch-parabola-grsec/kmod.install
new file mode 100644
index 000000000..d4bd8cb34
--- /dev/null
+++ b/pcr/bbswitch-parabola-grsec/kmod.install
@@ -0,0 +1,14 @@
+post_install() {
+ _extramodules=THIS_IS_AUTOMATICALLY_SET_BY_PKGBUILD
+ depmod $(cat /usr/lib/modules/${_extramodules}/version)
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
+# vim: ts=2 sw=2 et: