Merge pull request #498 from dylanaraps/gpu_fix2

GPU: Fix bug with sound card being detected, closes #491
This commit is contained in:
Dylan Araps 2016-12-05 12:43:15 +11:00 committed by GitHub
commit e64a98ec48

View file

@ -948,7 +948,7 @@ get_cpu_usage() {
get_gpu() { get_gpu() {
case "$os" in case "$os" in
"Linux" | "GNU") "Linux" | "GNU")
gpu="$(PATH="/sbin:$PATH" lspci -mm | awk -F '\\"|\\" \\"' '/Display|3D|VGA/ {print $3 " " $4}')" gpu="$(PATH="/sbin:$PATH" lspci -mm | awk -F '\\"|\\" \\"' '/"Display|"3D|"VGA/ {print $3 " " $4}')"
case "$gpu" in case "$gpu" in
*"advanced"*) *"advanced"*)