summaryrefslogtreecommitdiff
path: root/libre/tp_smapi-libre-lts/tp_smapi-lts.install
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2012-10-21 19:51:39 -0200
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2012-10-21 19:51:39 -0200
commitee7f9096475e0ea57d9326d087f94e3df4c6512b (patch)
tree0e9b42a4cb590b3c59632a91b519e0bacac38bd3 /libre/tp_smapi-libre-lts/tp_smapi-lts.install
parentb4ce63a23bfc79192dfc546c4196ec651dd31393 (diff)
parentb09b1d60e80ef66c0817fcc7466a20ec5a365520 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre/tp_smapi-libre-lts/tp_smapi-lts.install')
-rw-r--r--libre/tp_smapi-libre-lts/tp_smapi-lts.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/libre/tp_smapi-libre-lts/tp_smapi-lts.install b/libre/tp_smapi-libre-lts/tp_smapi-lts.install
new file mode 100644
index 000000000..2723fead7
--- /dev/null
+++ b/libre/tp_smapi-libre-lts/tp_smapi-lts.install
@@ -0,0 +1,13 @@
+extramodules=/usr/lib/modules/extramodules-3.0-LIBRE-LTS
+
+post_install() {
+ depmod -v $(< "$extramodules/version") &>/dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}