From c925ff8c871b059adb6816ba0bec95173b434224 Mon Sep 17 00:00:00 2001 From: 21st <60197499+21st-centuryman@users.noreply.github.com> Date: Wed, 23 Aug 2023 18:11:26 +0200 Subject: [PATCH] Fix: syntax bug --- overlay/etc/cont-init.d/60-configure_gpu_driver.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overlay/etc/cont-init.d/60-configure_gpu_driver.sh b/overlay/etc/cont-init.d/60-configure_gpu_driver.sh index 1d4a843..709417d 100644 --- a/overlay/etc/cont-init.d/60-configure_gpu_driver.sh +++ b/overlay/etc/cont-init.d/60-configure_gpu_driver.sh @@ -59,7 +59,7 @@ function install_nvidia_driver { # && echo # fi - if (($(echo $nvidia_host_driver_version | cut -d '.' -f 1) > 500)) then + if (($(echo $nvidia_host_driver_version | cut -d '.' -f 1) > 500)); then echo "Installing NVIDIA driver v${nvidia_host_driver_version} to match what is running on the host" chmod +x ${USER_HOME}/Downloads/NVIDIA_${nvidia_host_driver_version}.run ${USER_HOME}/Downloads/NVIDIA_${nvidia_host_driver_version}.run \