summaryrefslogtreecommitdiff
path: root/libre/lirc-libre/lirc.install
diff options
context:
space:
mode:
Diffstat (limited to 'libre/lirc-libre/lirc.install')
-rwxr-xr-xlibre/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 100755
index 000000000..976f5ab8a
--- /dev/null
+++ b/libre/lirc-libre/lirc.install
@@ -0,0 +1,16 @@
+EXTRAMODULES=extramodules-3.6-LIBRE
+
+post_install() {
+ # updating module dependencies
+ echo ">>> Updating module dependencies. Please wait ..."
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) > /dev/null 2>&1
+}
+
+post_upgrade() {
+ post_install
+}
+
+# arg 1: the old package version
+post_remove() {
+ post_install
+}