summaryrefslogtreecommitdiffstats
path: root/abs/core/nvidia/nvidia.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-11-28 15:26:11 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-11-28 15:26:11 (GMT)
commit45d86d89c1b0c798779a60e5a1d2975cc44b3406 (patch)
tree3df90d4515c9e97364b89f9572b3b42284dfefda /abs/core/nvidia/nvidia.install
parent84b479f93a1b867f5d224eff02b1f3ebf6e4fced (diff)
downloadlinhes_pkgbuild-45d86d89c1b0c798779a60e5a1d2975cc44b3406.zip
linhes_pkgbuild-45d86d89c1b0c798779a60e5a1d2975cc44b3406.tar.gz
linhes_pkgbuild-45d86d89c1b0c798779a60e5a1d2975cc44b3406.tar.bz2
nvidia driver: recompile for new kernel, updated to 310.19
Diffstat (limited to 'abs/core/nvidia/nvidia.install')
-rw-r--r--abs/core/nvidia/nvidia.install9
1 files changed, 6 insertions, 3 deletions
diff --git a/abs/core/nvidia/nvidia.install b/abs/core/nvidia/nvidia.install
index 3fe1bd8..c2c292a 100644
--- a/abs/core/nvidia/nvidia.install
+++ b/abs/core/nvidia/nvidia.install
@@ -1,15 +1,18 @@
post_install() {
- EXTRAMODULES='extramodules-3.4-ARCH'
+ EXTRAMODULES='extramodules-3.6-ARCH'
depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
echo 'In order to use nvidia module, reboot the system.'
}
post_upgrade() {
- EXTRAMODULES='extramodules-3.4-ARCH'
+ EXTRAMODULES='extramodules-3.6-ARCH'
depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+ if [ "$(vercmp $2 310.19-2)" -lt 0 ]; then
+ echo 'If your card is from the 7xxx series or earlier, install nvidia-304xx'
+ fi
}
post_remove() {
- EXTRAMODULES='extramodules-3.4-ARCH'
+ EXTRAMODULES='extramodules-3.6-ARCH'
depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
}