Merge pull request #203 from czadowanie/master
Some checks failed
Codespell / Check for spelling errors (push) Has been cancelled

Change driver_url for nvidia to make it non US-specific
This commit is contained in:
Kron4ek 2024-11-20 05:22:36 +00:00 committed by GitHub
commit 121f35e02c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -393,7 +393,7 @@ nvidia_driver_handler () {
echo "Downloading the Nvidia driver ${nvidia_driver_version}..." echo "Downloading the Nvidia driver ${nvidia_driver_version}..."
# Try to download the driver from the default Nvidia URL # Try to download the driver from the default Nvidia URL
driver_url="https://us.download.nvidia.com/XFree86/Linux-x86_64/${nvidia_driver_version}/NVIDIA-Linux-x86_64-${nvidia_driver_version}.run" driver_url="https://download.nvidia.com/XFree86/Linux-x86_64/${nvidia_driver_version}/NVIDIA-Linux-x86_64-${nvidia_driver_version}.run"
curl -#Lo nvidia.run "${driver_url}" curl -#Lo nvidia.run "${driver_url}"
# If the previous download failed, get the URL from FlatHub repo # If the previous download failed, get the URL from FlatHub repo