Commit cc7861e7 authored by Jai Luthra's avatar Jai Luthra Committed by GitHub

Merge pull request #677 from MoetaYuko/master

patch(-fbc).sh: Add Debian's Tesla driver to search path
parents f4bed4a9 dfebb8df
......@@ -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%%.*}"
......
......@@ -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%%.*}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment