|
@@ -61,6 +61,7 @@ if ! command -v nvidia-xconfig >/dev/null 2>&1; then
|
|
|
fi
|
|
fi
|
|
|
if [ -f "/tmp/NVIDIA-Linux-${NVIDIA_DRIVER_ARCH}-${NVIDIA_DRIVER_VERSION}.run" ]; then
|
|
if [ -f "/tmp/NVIDIA-Linux-${NVIDIA_DRIVER_ARCH}-${NVIDIA_DRIVER_VERSION}.run" ]; then
|
|
|
# Extract installer before installing
|
|
# Extract installer before installing
|
|
|
|
|
+ rm -rf "NVIDIA-Linux-${NVIDIA_DRIVER_ARCH}-${NVIDIA_DRIVER_VERSION}"
|
|
|
sh "NVIDIA-Linux-${NVIDIA_DRIVER_ARCH}-${NVIDIA_DRIVER_VERSION}.run" -x
|
|
sh "NVIDIA-Linux-${NVIDIA_DRIVER_ARCH}-${NVIDIA_DRIVER_VERSION}.run" -x
|
|
|
cd "NVIDIA-Linux-${NVIDIA_DRIVER_ARCH}-${NVIDIA_DRIVER_VERSION}"
|
|
cd "NVIDIA-Linux-${NVIDIA_DRIVER_ARCH}-${NVIDIA_DRIVER_VERSION}"
|
|
|
# Run NVIDIA driver installation without the kernel modules and host components
|
|
# Run NVIDIA driver installation without the kernel modules and host components
|