MoetaYuko 2023-07-07 12:31:35 +08:00
parent f4bed4a942
commit dfebb8df69
2 changed files with 4 additions and 0 deletions

View File

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

View File

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