summaryrefslogtreecommitdiffstats
path: root/abs/core/nvidia/nvidia.install
diff options
context:
space:
mode:
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 ef7e7de..8e01d0a 100644
--- a/abs/core/nvidia/nvidia.install
+++ b/abs/core/nvidia/nvidia.install
@@ -1,15 +1,15 @@
post_install() {
- EXTRAMODULES='extramodules-2.6.26-LinHES'
- depmod $(cat /lib/modules/$EXTRAMODULES/version)
+ KERNEL_VERSION='2.6.39-LinHES'
+ depmod $KERNEL_VERSION
echo 'In order to use nvidia module, reboot the system.'
}
post_upgrade() {
- EXTRAMODULES='extramodules-2.6.26-LinHES'
- depmod $(cat /lib/modules/$EXTRAMODULES/version)
+ KERNEL_VERSION='2.6.39-LinHES'
+ depmod $KERNEL_VERSION
}
post_remove() {
- EXTRAMODULES='extramodules-2.6.26-LinHES'
- depmod $(cat /lib/modules/$EXTRAMODULES/version)
+ KERNEL_VERSION='2.6.39-LinHES'
+ depmod $KERNEL_VERSION
}