summaryrefslogtreecommitdiff
path: root/libre/lirc-parabola/kmod.install
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-08-20 21:33:52 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-08-20 21:33:52 -0400
commitabea971649ac7e7e72893eb53aae2a6389a66106 (patch)
treed4c1fa1dcd7f4699c1ddbd100f6064b514a5fbe0 /libre/lirc-parabola/kmod.install
parent92f0fa3c89a53b4034a5928bb57935279ceeae68 (diff)
downloadabslibre-abea971649ac7e7e72893eb53aae2a6389a66106.tar.gz
abslibre-abea971649ac7e7e72893eb53aae2a6389a66106.tar.bz2
abslibre-abea971649ac7e7e72893eb53aae2a6389a66106.zip
Rename all the kernel-depending packages.
Diffstat (limited to 'libre/lirc-parabola/kmod.install')
-rw-r--r--libre/lirc-parabola/kmod.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/libre/lirc-parabola/kmod.install b/libre/lirc-parabola/kmod.install
new file mode 100644
index 000000000..d4bd8cb34
--- /dev/null
+++ b/libre/lirc-parabola/kmod.install
@@ -0,0 +1,14 @@
+post_install() {
+ _extramodules=THIS_IS_AUTOMATICALLY_SET_BY_PKGBUILD
+ depmod $(cat /usr/lib/modules/${_extramodules}/version)
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
+# vim: ts=2 sw=2 et: