summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-15 17:17:01 +0200
committerErich Eckner <git@eckner.net>2018-05-15 17:17:01 +0200
commit4ba1433aefa02c862ecb7c5c2346f0837905bf6a (patch)
tree0f3a941638e5258a12d91322fa7f609e629a18a0
parent75f2f94558076b14b40b93349f935db001b89d33 (diff)
downloadpackages-4ba1433aefa02c862ecb7c5c2346f0837905bf6a.tar.xz
extra/nvidia-340xx-utils: fix $_pkg
-rw-r--r--extra/nvidia-340xx-utils/PKGBUILD3
1 files changed, 1 insertions, 2 deletions
diff --git a/extra/nvidia-340xx-utils/PKGBUILD b/extra/nvidia-340xx-utils/PKGBUILD
index 9dbf76bc..9af7f7d5 100644
--- a/extra/nvidia-340xx-utils/PKGBUILD
+++ b/extra/nvidia-340xx-utils/PKGBUILD
@@ -1,6 +1,5 @@
_arch='x86'
-_pkg="${_pkg%-no-compat32}"
-_pkg="${_pkg/x86_64/x86}"
+_pkg="NVIDIA-Linux-x86-${pkgver}"
for ((i=${#source[@]}; i>0; i--)); do
if [ "${source[${i}]}" = "http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run" ]; then