Fix lspci not found on open SUSE

This commit is contained in:
Dylan 2016-02-09 20:54:24 +11:00
parent 73d50eb6b8
commit de8ab1eeb7
1 changed files with 1 additions and 1 deletions

2
fetch
View File

@ -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