summaryrefslogtreecommitdiffstats
path: root/abs/core/nvidia-304xx/nvidia-304xx-dkms.install
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-09-30 20:23:36 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-09-30 20:23:36 (GMT)
commit5ed06b715d7479dd2cebee0f69084cbd396de063 (patch)
tree911d595f02a478c1d3bafea8ea7bb1de7abfb0b5 /abs/core/nvidia-304xx/nvidia-304xx-dkms.install
parentd685308565e7fe194211b8c917c341be29ee7bcf (diff)
downloadlinhes_pkgbuild-5ed06b715d7479dd2cebee0f69084cbd396de063.zip
linhes_pkgbuild-5ed06b715d7479dd2cebee0f69084cbd396de063.tar.gz
linhes_pkgbuild-5ed06b715d7479dd2cebee0f69084cbd396de063.tar.bz2
nvidia-304xx: rebuild for kernel
Diffstat (limited to 'abs/core/nvidia-304xx/nvidia-304xx-dkms.install')
-rw-r--r--abs/core/nvidia-304xx/nvidia-304xx-dkms.install30
1 files changed, 0 insertions, 30 deletions
diff --git a/abs/core/nvidia-304xx/nvidia-304xx-dkms.install b/abs/core/nvidia-304xx/nvidia-304xx-dkms.install
deleted file mode 100644
index 3d9b74d..0000000
--- a/abs/core/nvidia-304xx/nvidia-304xx-dkms.install
+++ /dev/null
@@ -1,30 +0,0 @@
-#/bin/sh
-
-# arg 1: the new package version
-post_install() {
- dkms add nvidia/${1%-*}
- cat << EOF
-==> To build and install your modules run: dkms install nvidia/${1%-*}
-==> To do this automatically at startup run: systemctl enable dkms.service
-EOF
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-pre_upgrade() {
- pre_remove "$2"
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- post_install "$1"
-}
-
-# arg 1: the old package version
-pre_remove() {
- # Remove modules using dkms
- [ -n "${1%-*}" ] && dkms remove nvidia/${1%-*} --all &>/dev/null || true
-}
-
-# vim:set ts=2 sw=2 ft=sh et: