summaryrefslogtreecommitdiff
path: root/libre/lirc-libre/lirc.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-06-17 13:23:34 -0300
committerAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-06-17 13:23:34 -0300
commit51326121eaee8da99ca23154ff56f97b0e987cb9 (patch)
tree329a1b52db97a08497b80d797a2981d53c471a90 /libre/lirc-libre/lirc.install
parent1202d543cfd8884bcd7529e59c614c536103d2a6 (diff)
including lirc-libre and lirc-utils-libre to libre repo
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
+}