summaryrefslogtreecommitdiff
path: root/libre/lirc-libre/lirc.install
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-06-17 13:55:24 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-06-17 13:55:24 -0400
commit7d260c2da56c08b0b7991838533c223641bebbfb (patch)
tree72a8c2cfbc303370312c1fa291451452590fedf4 /libre/lirc-libre/lirc.install
parenta67fa7fcea87eef9d885b3af3344e4f0d39ddcba (diff)
parent7326e5293727cc1461fa92c2ba6868fba49456ae (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Conflicts: libre/mozilla-searchplugins/PKGBUILD
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
+}