summarylogtreecommitdiffstats
path: root/tn40xx.install
diff options
context:
space:
mode:
authorform2018-11-13 12:39:57 +0100
committerform2018-11-13 12:39:57 +0100
commit67f852f9b5afb6e0358c5599dabd739fc99a1c7a (patch)
treeee25e2c75724b8bf11d883802ad9db8ca50bd997 /tn40xx.install
parentf95f0a7c9438ea5fe1fc6e51fb535b000dcb67f2 (diff)
downloadaur-tn40xx.tar.gz
revert to non-lts, update to 0.3.6.17
Diffstat (limited to 'tn40xx.install')
-rw-r--r--tn40xx.install11
1 files changed, 5 insertions, 6 deletions
diff --git a/tn40xx.install b/tn40xx.install
index 72cf4b6ffef..24ca4ca6088 100644
--- a/tn40xx.install
+++ b/tn40xx.install
@@ -1,14 +1,13 @@
-
post_install() {
- _extramodules=extramodules-4.4-lts
- depmod $(cat /usr/lib/modules/${_extramodules}/version)
+ # get latest installed kernel version. not the running one.
+ _kernver="$(basename `ls -dlt /usr/lib/modules/[2-4]* | head -n 1 | cut -d '/' -f 2-`)"
+ depmod ${_kernver}
}
post_upgrade() {
- post_install
+ post_install
}
post_remove() {
- post_install
+ post_install
}
-