Fix lspci not found on open SUSE
This commit is contained in:
parent
73d50eb6b8
commit
de8ab1eeb7
1 changed files with 1 additions and 1 deletions
2
fetch
2
fetch
|
@ -863,7 +863,7 @@ getgpu () {
|
|||
case "$os" in
|
||||
"Linux")
|
||||
# Get the GPUs
|
||||
gpu="$(lspci | grep -F "VGA")"
|
||||
gpu="$(PATH="/usr/sbin:$PATH" lspci | grep -F "VGA")"
|
||||
gpu=${gpu//??':'??'.'?}
|
||||
|
||||
# Count the number of GPUs
|
||||
|
|
Loading…
Reference in a new issue