summaryrefslogtreecommitdiff
path: root/libre/acpi_call-lts/kmod.install
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2018-01-15 04:51:31 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2018-01-15 04:51:31 -0500
commit362dc71f442c53a0b294e4a47cd15db00dd5c0a2 (patch)
tree92ddeca8073304f6c710e7b92462113e4a2cdb2c /libre/acpi_call-lts/kmod.install
parent031a4b4b56bac1acc07dbae3016316ae7bdd8e83 (diff)
downloadabslibre-362dc71f442c53a0b294e4a47cd15db00dd5c0a2.tar.gz
abslibre-362dc71f442c53a0b294e4a47cd15db00dd5c0a2.tar.bz2
abslibre-362dc71f442c53a0b294e4a47cd15db00dd5c0a2.zip
rebuild module packages against linux-libre-lts-4.9.75_gnu-1
Diffstat (limited to 'libre/acpi_call-lts/kmod.install')
-rw-r--r--libre/acpi_call-lts/kmod.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/libre/acpi_call-lts/kmod.install b/libre/acpi_call-lts/kmod.install
new file mode 100644
index 000000000..40caa464f
--- /dev/null
+++ b/libre/acpi_call-lts/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
+}