summarylogtreecommitdiffstats
path: root/droidcam.install
diff options
context:
space:
mode:
authorDaniel Nagy2015-06-08 19:40:04 +0200
committerDaniel Nagy2015-06-08 19:40:04 +0200
commit96550c3c926b10980c24bc87c500e384e98b94f6 (patch)
tree10d8a7e34c4254ca1e4966beb1a22e79e043abaf /droidcam.install
downloadaur-96550c3c926b10980c24bc87c500e384e98b94f6.tar.gz
import to aur4
Diffstat (limited to 'droidcam.install')
-rw-r--r--droidcam.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/droidcam.install b/droidcam.install
new file mode 100644
index 000000000000..accab0a0bbd6
--- /dev/null
+++ b/droidcam.install
@@ -0,0 +1,14 @@
+post_install() {
+ _extramodules="extramodules-$(uname -r | cut -f-2 -d'.')-$(uname -r|sed -e 's/.*-//g')"
+ depmod $(cat /usr/lib/modules/${_extramodules}/version)
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
+# vim: ts=2 sw=2 et: