Commit 958a5a81 authored by Bruce MacDonald's avatar Bruce MacDonald
Browse files

revert fedora cuda version check

parent a2b21013
...@@ -222,7 +222,7 @@ if ! lsmod | grep -q nvidia; then ...@@ -222,7 +222,7 @@ if ! lsmod | grep -q nvidia; then
*) exit ;; *) exit ;;
esac 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 if [ -n "$NVIDIA_CUDA_VERSION" ]; then
$SUDO dkms install $NVIDIA_CUDA_VERSION $SUDO dkms install $NVIDIA_CUDA_VERSION
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment