summarylogtreecommitdiffstats
path: root/akari.install
diff options
context:
space:
mode:
authorDeon Spengler2017-02-13 02:18:24 +0200
committerDeon Spengler2017-02-13 02:18:24 +0200
commit391993e8b6bc6009c7350ef666623d565ec8c473 (patch)
tree5db34548dcdf2d815609c132690e1c3afc659024 /akari.install
parentf2ee82242fbe22d1ec46651008ddd8aac965fe79 (diff)
downloadaur-391993e8b6bc6009c7350ef666623d565ec8c473.tar.gz
Updated package to version 1.0.35
Diffstat (limited to 'akari.install')
-rw-r--r--akari.install18
1 files changed, 6 insertions, 12 deletions
diff --git a/akari.install b/akari.install
index d3c1c8df6ee0..99b3ea60bb8b 100644
--- a/akari.install
+++ b/akari.install
@@ -1,20 +1,14 @@
-#! /bin/bash
-
post_install() {
- KERNEL_VERSION=$(uname -r)
- depmod $KERNEL_VERSION
- echo
- echo " * Append \"init=/sbin/ccs-init\" to the kernel boot options"
- echo " and reboot in order to activate AKARI."
- echo
+ EXTRAMODULES='extramodules-4.9-ARCH'
+ depmod $(cat /usr/lib/modules/${EXTRAMODULES}/version)
+ echo "In order to use akari module append \"init=/sbin/ccs-init\""
+ echo "to the kernel boot options and reboot the system to activate"
}
post_upgrade() {
- KERNEL_VERSION=$(uname -r)
- depmod $KERNEL_VERSION
+ post_install
}
post_remove() {
- KERNEL_VERSION=$(uname -r)
- depmod $KERNEL_VERSION
+ post_install
}