summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/nvidia-96xx/nvidia.install
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verison.net>2010-04-04 23:43:02 (GMT)
committerMichael Hanson <hansonorders@verison.net>2010-04-04 23:43:02 (GMT)
commitafa63da99592c0050461d2118d8f34d875baf630 (patch)
treeb5e5a2a9731452641c3143dc8f81d49cc33c474b /abs/core-testing/nvidia-96xx/nvidia.install
parent145c6c43b078d524367d260e75eb5dfcadcf1425 (diff)
parent57bf063a8ecc8593ca9ef414582fd4d0e3fa645b (diff)
downloadlinhes_pkgbuild-afa63da99592c0050461d2118d8f34d875baf630.zip
linhes_pkgbuild-afa63da99592c0050461d2118d8f34d875baf630.tar.gz
linhes_pkgbuild-afa63da99592c0050461d2118d8f34d875baf630.tar.bz2
Merge branch 'master' of mihanson@knoppmyth.net:LinHES-PKGBUILD
Diffstat (limited to 'abs/core-testing/nvidia-96xx/nvidia.install')
-rw-r--r--abs/core-testing/nvidia-96xx/nvidia.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/abs/core-testing/nvidia-96xx/nvidia.install b/abs/core-testing/nvidia-96xx/nvidia.install
new file mode 100644
index 0000000..ab86ea2
--- /dev/null
+++ b/abs/core-testing/nvidia-96xx/nvidia.install
@@ -0,0 +1,14 @@
+post_install() {
+ KERNEL_VERSION='2.6.28-LinHES'
+ depmod $KERNEL_VERSION
+}
+
+post_upgrade() {
+ post_install
+ rmmod nvidia || echo 'In order to use the new nvidia module, exit Xserver and unload it manually.'
+}
+
+post_remove() {
+ KERNEL_VERSION='2.6.28-LinHES'
+ depmod $KERNEL_VERSION
+}