summarylogtreecommitdiffstats
path: root/ceton_infinitv.install
diff options
context:
space:
mode:
authorBill Durr2017-11-03 02:07:01 -0400
committerBill Durr2017-11-03 02:07:01 -0400
commit06b618b0300fd57f6aa4b73b36ee6bc75c4a1f80 (patch)
treeca2f48afb1cff874026f1e106cc594272ba69b10 /ceton_infinitv.install
downloadaur-06b618b0300fd57f6aa4b73b36ee6bc75c4a1f80.tar.gz
recreate ceton infinitv driver package, add fixes for newer kernels
Diffstat (limited to 'ceton_infinitv.install')
-rw-r--r--ceton_infinitv.install9
1 files changed, 9 insertions, 0 deletions
diff --git a/ceton_infinitv.install b/ceton_infinitv.install
new file mode 100644
index 000000000000..19de4c0d6ca2
--- /dev/null
+++ b/ceton_infinitv.install
@@ -0,0 +1,9 @@
+KERNEL_VER=`pacman -Qi linux | grep "Version" | sed 's/^Version\s*:\s//'`
+
+post_install() {
+ depmod -ae ${KERNEL_VER}-ARCH
+}
+
+post_upgrade() {
+ depmod -ae ${KERNEL_VER}-ARCH
+}