summaryrefslogtreecommitdiffstats
path: root/abs/core/nvidia-304xx/nvidia-304xx.install
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2017-12-11 21:25:20 (GMT)
committerBritney Fransen <brfransen@gmail.com>2017-12-11 21:25:20 (GMT)
commitf11c21626adb7f82a8d5e90469420cfc9f00d3de (patch)
tree1589089bf4025f653aec5b16f7c87624315b2be6 /abs/core/nvidia-304xx/nvidia-304xx.install
parente4b0dec19f02e6d8e995b19a22110cac26f07ac4 (diff)
downloadlinhes_pkgbuild-f11c21626adb7f82a8d5e90469420cfc9f00d3de.zip
linhes_pkgbuild-f11c21626adb7f82a8d5e90469420cfc9f00d3de.tar.gz
linhes_pkgbuild-f11c21626adb7f82a8d5e90469420cfc9f00d3de.tar.bz2
nvidia-340xx & nvidia-304xx: rebuild
add back .install
Diffstat (limited to 'abs/core/nvidia-304xx/nvidia-304xx.install')
-rw-r--r--abs/core/nvidia-304xx/nvidia-304xx.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/abs/core/nvidia-304xx/nvidia-304xx.install b/abs/core/nvidia-304xx/nvidia-304xx.install
new file mode 100644
index 0000000..9858d46
--- /dev/null
+++ b/abs/core/nvidia-304xx/nvidia-304xx.install
@@ -0,0 +1,13 @@
+post_install() {
+ EXTRAMODULES='extramodules-4.9-ARCH'
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+ echo 'In order to use nvidia module, reboot the system.'
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}