diff options
author | Britney Fransen <brfransen@gmail.com> | 2016-09-30 20:21:06 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2016-09-30 20:21:06 (GMT) |
commit | d685308565e7fe194211b8c917c341be29ee7bcf (patch) | |
tree | 3d6879a578283425d28db7fda4750a73d0f16750 /abs/core/nvidia-340xx/nvidia-340xx-dkms.install | |
parent | 6c2b1fd27461934e9eaa8a715de2a2cee469ed06 (diff) | |
download | linhes_pkgbuild-d685308565e7fe194211b8c917c341be29ee7bcf.zip linhes_pkgbuild-d685308565e7fe194211b8c917c341be29ee7bcf.tar.gz linhes_pkgbuild-d685308565e7fe194211b8c917c341be29ee7bcf.tar.bz2 |
nvidia-340xx & nvidia-340xx-utils: update to 340.98
Diffstat (limited to 'abs/core/nvidia-340xx/nvidia-340xx-dkms.install')
-rw-r--r-- | abs/core/nvidia-340xx/nvidia-340xx-dkms.install | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/abs/core/nvidia-340xx/nvidia-340xx-dkms.install b/abs/core/nvidia-340xx/nvidia-340xx-dkms.install deleted file mode 100644 index 3d9b74d..0000000 --- a/abs/core/nvidia-340xx/nvidia-340xx-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: |