ZenitH-AT / nvidia-update

Checks for a new version of the NVIDIA driver, downloads and installs it.
MIT License
56 stars 8 forks source link

Script doesn't detect DCH driver #1

Closed tavern2782 closed 1 year ago

tavern2782 commented 2 years ago

This script is currently not working as intended due to a bad comparison operator at line 405. The if statement is trying to compare a variable against type: int but the data being assigned to the variable in line 381 is type: string.

I fixed this by simple adding quotes around the comparison in line 405.