diff options
author | Britney Fransen <brfransen@gmail.com> | 2015-01-03 02:20:14 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2015-01-03 02:20:14 (GMT) |
commit | 0f7794af2e418e80ec2a9752326c6d7d98abb0d6 (patch) | |
tree | 00cee86fa6459a6847d43195dcb404d3b945a47b /abs/core/nvidia-340xx/nvidia-340xx.install | |
parent | 5600de9fc4ff3949c14fb1124ee893c23aad32a4 (diff) | |
download | linhes_pkgbuild-0f7794af2e418e80ec2a9752326c6d7d98abb0d6.zip linhes_pkgbuild-0f7794af2e418e80ec2a9752326c6d7d98abb0d6.tar.gz linhes_pkgbuild-0f7794af2e418e80ec2a9752326c6d7d98abb0d6.tar.bz2 |
nvidia-340xx: initial inclusion 340.65
Diffstat (limited to 'abs/core/nvidia-340xx/nvidia-340xx.install')
-rw-r--r-- | abs/core/nvidia-340xx/nvidia-340xx.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/abs/core/nvidia-340xx/nvidia-340xx.install b/abs/core/nvidia-340xx/nvidia-340xx.install new file mode 100644 index 0000000..a83edad --- /dev/null +++ b/abs/core/nvidia-340xx/nvidia-340xx.install @@ -0,0 +1,15 @@ +post_install() { + EXTRAMODULES='extramodules-3.18-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) + echo 'In order to use nvidia module, reboot the system.' +} + +post_upgrade() { + EXTRAMODULES='extramodules-3.18-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_remove() { + EXTRAMODULES='extramodules-3.18-ARCH' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} |