summaryrefslogtreecommitdiff
path: root/libre/tp_smapi-libre/tp_smapi.install
diff options
context:
space:
mode:
Diffstat (limited to 'libre/tp_smapi-libre/tp_smapi.install')
-rw-r--r--libre/tp_smapi-libre/tp_smapi.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/libre/tp_smapi-libre/tp_smapi.install b/libre/tp_smapi-libre/tp_smapi.install
new file mode 100644
index 000000000..2f81a4e15
--- /dev/null
+++ b/libre/tp_smapi-libre/tp_smapi.install
@@ -0,0 +1,13 @@
+extramodules=/usr/lib/modules/extramodules-3.12-LIBRE
+
+post_install() {
+ depmod -v $(< "$extramodules/version") &>/dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}