Merge pull request #31 from ggerganov/master

Address #30 - Fix version check on old version of Ubuntu (12.04)
pull/36/head
Vladislav Yarmak 5 years ago committed by GitHub
commit 57263a244e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -79,7 +79,7 @@ fi
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 "Available patches for: " 1>&2
for drv in "${!patch_list[@]}"; do

Loading…
Cancel
Save