summaryrefslogtreecommitdiff
path: root/libre/acpi_call/kmod.install
diff options
context:
space:
mode:
Diffstat (limited to 'libre/acpi_call/kmod.install')
-rw-r--r--libre/acpi_call/kmod.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/libre/acpi_call/kmod.install b/libre/acpi_call/kmod.install
new file mode 100644
index 000000000..40caa464f
--- /dev/null
+++ b/libre/acpi_call/kmod.install
@@ -0,0 +1,14 @@
+_EXTRAMODULES=
+
+post_install() {
+ echo ">>> Updating module dependencies. Please wait ..."
+ depmod "$(cat /usr/lib/modules/$_EXTRAMODULES/version)" >/dev/null 2>&1
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}