summaryrefslogtreecommitdiffstats
path: root/abs/core/nvidia/nvidia.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-09 21:59:08 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-09 21:59:08 (GMT)
commit616be262079046a93110fb3aa2f861020ca06d72 (patch)
treec3d5ba61624dca1689d6e23517511f0b8a7eaa37 /abs/core/nvidia/nvidia.install
parentf8dcf7f426a32285886e676c71b4546025cd1c10 (diff)
downloadlinhes_pkgbuild-616be262079046a93110fb3aa2f861020ca06d72.zip
linhes_pkgbuild-616be262079046a93110fb3aa2f861020ca06d72.tar.gz
linhes_pkgbuild-616be262079046a93110fb3aa2f861020ca06d72.tar.bz2
nvidia 302.17
Diffstat (limited to 'abs/core/nvidia/nvidia.install')
-rw-r--r--abs/core/nvidia/nvidia.install12
1 files changed, 6 insertions, 6 deletions
diff --git a/abs/core/nvidia/nvidia.install b/abs/core/nvidia/nvidia.install
index 8e01d0a..3fe1bd8 100644
--- a/abs/core/nvidia/nvidia.install
+++ b/abs/core/nvidia/nvidia.install
@@ -1,15 +1,15 @@
post_install() {
- KERNEL_VERSION='2.6.39-LinHES'
- depmod $KERNEL_VERSION
+ EXTRAMODULES='extramodules-3.4-ARCH'
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
echo 'In order to use nvidia module, reboot the system.'
}
post_upgrade() {
- KERNEL_VERSION='2.6.39-LinHES'
- depmod $KERNEL_VERSION
+ EXTRAMODULES='extramodules-3.4-ARCH'
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
}
post_remove() {
- KERNEL_VERSION='2.6.39-LinHES'
- depmod $KERNEL_VERSION
+ EXTRAMODULES='extramodules-3.4-ARCH'
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
}