summaryrefslogtreecommitdiff
path: root/testing/lirc/lirc.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-23 00:02:37 +0000
committerroot <root@rshg054.dnsready.net>2012-05-23 00:02:37 +0000
commitbd614ac21d2754d778a796cd5e92d1568ec8baec (patch)
tree094c785b4da8bafd835e9e319e9908b776258975 /testing/lirc/lirc.install
parent62e13d20ed92262c7396eff00d048ce815693e74 (diff)
Wed May 23 00:02:37 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..4551e88dc
--- /dev/null
+++ b/testing/lirc/lirc.install
@@ -0,0 +1,16 @@
+EXTRAMODULES=extramodules-3.4-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
+}