mirror of
https://github.com/keylase/nvidia-patch.git
synced 2024-11-09 11:38:21 +00:00
Merge pull request #677 from MoetaYuko/master
patch(-fbc).sh: Add Debian's Tesla driver to search path
This commit is contained in:
commit
cc7861e704
@ -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%%.*}"
|
||||
|
2
patch.sh
2
patch.sh
@ -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%%.*}"
|
||||
|
Loading…
Reference in New Issue
Block a user