summaryrefslogtreecommitdiffstats
path: root/abs/core/nvidia-304xx/nvidia.install
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2015-01-03 02:33:21 (GMT)
committerBritney Fransen <brfransen@gmail.com>2015-01-03 02:33:21 (GMT)
commit56f39a2fbee1111b44cec4f9c34c6cfa084980e1 (patch)
treea4697f32a70e8f532b3d4915084ac8c58fa1da13 /abs/core/nvidia-304xx/nvidia.install
parente474504d1560746d0e9a26246a3b7453776edecd (diff)
downloadlinhes_pkgbuild-56f39a2fbee1111b44cec4f9c34c6cfa084980e1.zip
linhes_pkgbuild-56f39a2fbee1111b44cec4f9c34c6cfa084980e1.tar.gz
linhes_pkgbuild-56f39a2fbee1111b44cec4f9c34c6cfa084980e1.tar.bz2
nvidia-304xx: initial inclusion 304.125
Diffstat (limited to 'abs/core/nvidia-304xx/nvidia.install')
-rw-r--r--abs/core/nvidia-304xx/nvidia.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/abs/core/nvidia-304xx/nvidia.install b/abs/core/nvidia-304xx/nvidia.install
new file mode 100644
index 0000000..a83edad
--- /dev/null
+++ b/abs/core/nvidia-304xx/nvidia.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)
+}