summaryrefslogtreecommitdiff
path: root/libre/lirc-libre/lirc.install
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-06-28 01:08:06 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-06-28 01:08:06 -0300
commitefd3779d0b698daee3d1620ffa63f66c3cb249e7 (patch)
treecc005ce0d2509aef0bac3890cb1edbca038c987f /libre/lirc-libre/lirc.install
parent93b4e351b297424bea9fb532259036d7a6607672 (diff)
parent2ecb70b29a4d14ebc72f8ec5f9026d350277b6de (diff)
Merge branch 'master' of ssh://gparabola/srv/git/abslibre
Diffstat (limited to 'libre/lirc-libre/lirc.install')
-rw-r--r--libre/lirc-libre/lirc.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/libre/lirc-libre/lirc.install b/libre/lirc-libre/lirc.install
new file mode 100644
index 000000000..d6b9e5ff2
--- /dev/null
+++ b/libre/lirc-libre/lirc.install
@@ -0,0 +1,16 @@
+EXTRAMODULES=extramodules-3.4-LIBRE
+
+post_install() {
+ # updating module dependencies
+ echo ">>> Updating module dependencies. Please wait ..."
+ depmod $(cat /lib/modules/$EXTRAMODULES/version) > /dev/null 2>&1
+}
+
+post_upgrade() {
+ post_install
+}
+
+# arg 1: the old package version
+post_remove() {
+ post_install
+}