mirror of
https://github.com/keylase/nvidia-patch.git
synced 2024-11-26 07:27:18 +00:00
Merge pull request #31 from ggerganov/master
Address #30 - Fix version check on old version of Ubuntu (12.04)
This commit is contained in:
commit
57263a244e
2
patch.sh
2
patch.sh
@ -79,7 +79,7 @@ fi
|
|||||||
|
|
||||||
echo "Detected nvidia driver version: $driver_version"
|
echo "Detected nvidia driver version: $driver_version"
|
||||||
|
|
||||||
if [[ ! -v "patch_list[$driver_version]" || ! -v "object_list[$driver_version]" ]]; then
|
if [[ ! "${patch_list[$driver_version]+isset}" || ! "${object_list[$driver_version]+isset}" ]]; then
|
||||||
echo "Patch for this ($driver_version) nvidia driver not found." 1>&2
|
echo "Patch for this ($driver_version) nvidia driver not found." 1>&2
|
||||||
echo "Available patches for: " 1>&2
|
echo "Available patches for: " 1>&2
|
||||||
for drv in "${!patch_list[@]}"; do
|
for drv in "${!patch_list[@]}"; do
|
||||||
|
Loading…
Reference in New Issue
Block a user