summaryrefslogtreecommitdiffstats
path: root/abs/core/nvidia/nvidia.install
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-12-22 04:04:12 (GMT)
committerCecil <knoppmyth@gmail.com>2011-12-22 04:04:12 (GMT)
commitd5600ed2385ad873731cd84f32a3552e85c5be00 (patch)
tree72366152fddc1c2c3bbf5ea7e0fd69a839835561 /abs/core/nvidia/nvidia.install
parent043760ffd888ba8e64861299ccc3f973831b8867 (diff)
downloadlinhes_pkgbuild-d5600ed2385ad873731cd84f32a3552e85c5be00.zip
linhes_pkgbuild-d5600ed2385ad873731cd84f32a3552e85c5be00.tar.gz
linhes_pkgbuild-d5600ed2385ad873731cd84f32a3552e85c5be00.tar.bz2
nvidia:Bumped to latest official release.
Diffstat (limited to 'abs/core/nvidia/nvidia.install')
-rw-r--r--abs/core/nvidia/nvidia.install13
1 files changed, 6 insertions, 7 deletions
diff --git a/abs/core/nvidia/nvidia.install b/abs/core/nvidia/nvidia.install
index b59d0b2..ef7e7de 100644
--- a/abs/core/nvidia/nvidia.install
+++ b/abs/core/nvidia/nvidia.install
@@ -1,16 +1,15 @@
post_install() {
- KERNEL_VERSION='2.6.39-LinHES'
- depmod $KERNEL_VERSION
+ EXTRAMODULES='extramodules-2.6.26-LinHES'
+ depmod $(cat /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
- rmmod nvidia || echo 'In order to use the new nvidia module, exit Xserver and unload it manually.'
+ EXTRAMODULES='extramodules-2.6.26-LinHES'
+ depmod $(cat /lib/modules/$EXTRAMODULES/version)
}
post_remove() {
- KERNEL_VERSION='2.6.39-LinHES'
- depmod $KERNEL_VERSION
+ EXTRAMODULES='extramodules-2.6.26-LinHES'
+ depmod $(cat /lib/modules/$EXTRAMODULES/version)
}