Merge pull request #677 from MoetaYuko/master

patch(-fbc).sh: Add Debian's Tesla driver to search path
This commit is contained in:
Jai Luthra 2023-07-07 11:11:22 +05:30 committed by GitHub
commit cc7861e704
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -368,6 +368,8 @@ patch_common () {
declare -a driver_locations=(
'/usr/lib/x86_64-linux-gnu'
'/usr/lib/x86_64-linux-gnu/nvidia/current/'
'/usr/lib/x86_64-linux-gnu/nvidia/tesla/'
"/usr/lib/x86_64-linux-gnu/nvidia/tesla-${driver_version%%.*}/"
'/usr/lib64'
'/usr/lib'
"/usr/lib/nvidia-${driver_version%%.*}"

View File

@ -444,6 +444,8 @@ patch_common () {
declare -a driver_locations=(
'/usr/lib/x86_64-linux-gnu'
'/usr/lib/x86_64-linux-gnu/nvidia/current/'
'/usr/lib/x86_64-linux-gnu/nvidia/tesla/'
"/usr/lib/x86_64-linux-gnu/nvidia/tesla-${driver_version%%.*}/"
'/usr/lib64'
'/usr/lib'
"/usr/lib/nvidia-${driver_version%%.*}"