From 2f78a31ba9f107e499ba1de9e2bd2ebafa7de37a Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 17 Jan 2018 20:08:09 +0100 Subject: extra/nvidia-340xx: same fix as for other nvidia-* packages --- extra/nvidia-340xx/PKGBUILD | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'extra/nvidia-340xx') diff --git a/extra/nvidia-340xx/PKGBUILD b/extra/nvidia-340xx/PKGBUILD index bdb732f1..cee8f65a 100644 --- a/extra/nvidia-340xx/PKGBUILD +++ b/extra/nvidia-340xx/PKGBUILD @@ -1,4 +1,10 @@ -source_i686+=("http://us.download.nvidia.com/XFree86/Linux-x86/${pkgver}/NVIDIA-Linux-x86-${pkgver}.run") -sha512sums_i686+=('8dacd5345a5794e862f4106ab9e8e402defa7883dd176c243d019209b560fe955d7576a13936364c01c5a249f15df58208308c9378c12c3438784376e5fb806c') +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 + break; + fi +done + +source[${i}]="http://us.download.nvidia.com/XFree86/Linux-x86/${pkgver}/NVIDIA-Linux-x86-${pkgver}.run" +sha512sums[${i}]='ea61d463148435b6c0d16203c06372e5dc93443607ece0709f789c5c08909a3ec51c1994df97b835bba58008cdc7fe588e403006eb00631482a2a9854a81ec0a' _pkg="NVIDIA-Linux-x86-${pkgver}" -- cgit v1.2.3-70-g09d2