diff options
Diffstat (limited to 'ceton_infinitv.install')
-rw-r--r-- | ceton_infinitv.install | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/ceton_infinitv.install b/ceton_infinitv.install index 19de4c0d6ca2..093e0a1d57db 100644 --- a/ceton_infinitv.install +++ b/ceton_infinitv.install @@ -1,9 +1,16 @@ KERNEL_VER=`pacman -Qi linux | grep "Version" | sed 's/^Version\s*:\s//'` post_install() { - depmod -ae ${KERNEL_VER}-ARCH + # Update module dependencies for all kernels + for _kernel in $(cat /usr/lib/modules/extramodules-*/version); do + depmod $_kernel + done } post_upgrade() { - depmod -ae ${KERNEL_VER}-ARCH + post_install } + +post_remove() { + post_install +}
\ No newline at end of file |