summarylogtreecommitdiffstats
path: root/ceton_infinitv.install
diff options
context:
space:
mode:
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
+}