summaryrefslogtreecommitdiff
path: root/pcr/lirc-parabola-grsec/kmod.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-24 19:40:36 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-24 19:40:36 -0300
commite8319462e19058a8d28bc77f03b6379af7cb9e08 (patch)
treee3698fd0dc40546e8390bded82355d149055bebc /pcr/lirc-parabola-grsec/kmod.install
parenta440b2cc73827e1c46a817f60532f11392273753 (diff)
downloadabslibre-e8319462e19058a8d28bc77f03b6379af7cb9e08.tar.gz
abslibre-e8319462e19058a8d28bc77f03b6379af7cb9e08.tar.bz2
abslibre-e8319462e19058a8d28bc77f03b6379af7cb9e08.zip
{{bbswitch,lirc,vhba-module}-parabola-{lts,grsec},{acpi_call,tp_smapi}-parabola-grsec}: move to [pcr] because those packages aren't official on Arch yet
Diffstat (limited to 'pcr/lirc-parabola-grsec/kmod.install')
-rw-r--r--pcr/lirc-parabola-grsec/kmod.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/pcr/lirc-parabola-grsec/kmod.install b/pcr/lirc-parabola-grsec/kmod.install
new file mode 100644
index 000000000..d4bd8cb34
--- /dev/null
+++ b/pcr/lirc-parabola-grsec/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: