Change nvidia driver_url

This commit is contained in:
czadowanie 2024-11-20 04:20:27 +01:00 committed by GitHub
parent d3a104e32b
commit 40e134cbbc
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