Browse Source

revert fedora cuda version check

Bruce MacDonald 1 year ago
parent
commit
958a5a8184
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/install.sh

+ 1 - 1
scripts/install.sh

@@ -222,7 +222,7 @@ if ! lsmod | grep -q nvidia; then
         *) exit ;;
     esac
 
-    NVIDIA_CUDA_VERSION=$($SUDO dkms status | awk -F: '/nvidia|added/ { print $1 }')
+    NVIDIA_CUDA_VERSION=$($SUDO dkms status | awk -F: '/added/ { print $1 }')
     if [ -n "$NVIDIA_CUDA_VERSION" ]; then
         $SUDO dkms install $NVIDIA_CUDA_VERSION
     fi