revert fedora cuda version check
This commit is contained in:
parent
a2b210130f
commit
958a5a8184
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue