summaryrefslogtreecommitdiff
path: root/testing/lirc/lirc.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-06 23:14:57 +0000
committerroot <root@rshg054.dnsready.net>2012-01-06 23:14:57 +0000
commitd7931e8fa49a4698ac8dbb1a155ca6b48f031828 (patch)
tree281739e3992b9ac2dbb722ea6f84d1015fe1a365 /testing/lirc/lirc.install
parent817e58c278cb8ebee7743205877d0f67c431fcec (diff)
Fri Jan 6 23:14:57 UTC 2012
Diffstat (limited to 'testing/lirc/lirc.install')
-rw-r--r--testing/lirc/lirc.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/lirc/lirc.install b/testing/lirc/lirc.install
new file mode 100644
index 000000000..9bf905742
--- /dev/null
+++ b/testing/lirc/lirc.install
@@ -0,0 +1,16 @@
+EXTRAMODULES=extramodules-3.2-ARCH
+
+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
+}