diff options
author | Britney Fransen <brfransen@gmail.com> | 2015-03-16 17:19:17 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2015-03-16 17:19:17 (GMT) |
commit | ef9afbd5cb377d942a6604929cc2ed5edd8e9cbb (patch) | |
tree | 44d2ab26a46ceac4419c373d655d5a785d3c60ca /abs/core/nvidia-utils | |
parent | bffdf5a43c9981269890bd148aebab20b37e6870 (diff) | |
download | linhes_pkgbuild-ef9afbd5cb377d942a6604929cc2ed5edd8e9cbb.zip linhes_pkgbuild-ef9afbd5cb377d942a6604929cc2ed5edd8e9cbb.tar.gz linhes_pkgbuild-ef9afbd5cb377d942a6604929cc2ed5edd8e9cbb.tar.bz2 |
nvidia & nvidia-utils: update to 346.47
Diffstat (limited to 'abs/core/nvidia-utils')
-rw-r--r-- | abs/core/nvidia-utils/PKGBUILD | 6 | ||||
-rw-r--r-- | abs/core/nvidia-utils/nvidia-utils.install | 18 |
2 files changed, 10 insertions, 14 deletions
diff --git a/abs/core/nvidia-utils/PKGBUILD b/abs/core/nvidia-utils/PKGBUILD index 9e9cd62..ac935eb 100644 --- a/abs/core/nvidia-utils/PKGBUILD +++ b/abs/core/nvidia-utils/PKGBUILD @@ -4,7 +4,7 @@ # Contributor: James Rayner <iphitus@gmail.com> pkgbase=nvidia-utils pkgname=('nvidia-utils' 'nvidia-libgl' 'opencl-nvidia') -pkgver=346.35 +pkgver=346.47 pkgrel=2 arch=('i686' 'x86_64') url="http://www.nvidia.com/" @@ -12,8 +12,8 @@ license=('custom') options=('!strip') source=("ftp://download.nvidia.com/XFree86/Linux-x86/${pkgver}/NVIDIA-Linux-x86-${pkgver}.run" "ftp://download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run") -sha1sums=('b011f4767ac6fef2aa677923626dc235317af2c6' - 'deb4535a9546b56ee1dbd1053bc56a3dd9c62117') +sha1sums=('fff888527a89b95e2f32bdc8fe00d9e7c6112415' + 'fc5f00fe21d48c0cafec6048837e53f6ef402aa8') [[ "$CARCH" = "i686" ]] && _pkg="NVIDIA-Linux-x86-${pkgver}" [[ "$CARCH" = "x86_64" ]] && _pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" diff --git a/abs/core/nvidia-utils/nvidia-utils.install b/abs/core/nvidia-utils/nvidia-utils.install index df17a32..1955c64 100644 --- a/abs/core/nvidia-utils/nvidia-utils.install +++ b/abs/core/nvidia-utils/nvidia-utils.install @@ -1,14 +1,10 @@ -post_install() { - if ! getent group nvidia-persistenced >/dev/null; then - groupadd -g 143 nvidia-persistenced - fi - if ! getent passwd nvidia-persistenced >/dev/null; then - useradd -c 'NVIDIA Persistence Daemon' -u 143 -g nvidia-persistenced -d '/' -s /sbin/nologin nvidia-persistenced - fi +post_upgrade() { + echo "If you run into trouble with CUDA not being available, run nvidia-modprobe first." } -post_remove() { - if getent group nvidia-persistenced >/dev/null; then - userdel -f nvidia-persistenced - fi +post_install() { + getent group nvidia-persistenced &>/dev/null || groupadd -g 143 nvidia-persistenced + getent passwd nvidia-persistenced &>/dev/null || useradd -c 'NVIDIA Persistence Daemon' -u 143 -g nvidia-persistenced -d '/' -s /sbin/nologin nvidia-persistenced + + post_upgrade } |