gpu: Fix ATI/AMD branding issue.
This commit is contained in:
parent
da94f65b8c
commit
0d89e1a400
4
neofetch
4
neofetch
|
@ -1313,8 +1313,10 @@ get_gpu() {
|
||||||
|
|
||||||
case "$gpu" in
|
case "$gpu" in
|
||||||
*"advanced"*)
|
*"advanced"*)
|
||||||
brand="${gpu/*AMD*/AMD}"
|
brand="${gpu/*AMD*ATI*/AMD ATI}"
|
||||||
|
brand="${brand:-${gpu/*AMD*/AMD}}"
|
||||||
brand="${brand:-${gpu/*ATI*/ATi}}"
|
brand="${brand:-${gpu/*ATI*/ATi}}"
|
||||||
|
|
||||||
gpu="${gpu/'[AMD/ATI]' }"
|
gpu="${gpu/'[AMD/ATI]' }"
|
||||||
gpu="${gpu/'[AMD]' }"
|
gpu="${gpu/'[AMD]' }"
|
||||||
gpu="${gpu/OEM }"
|
gpu="${gpu/OEM }"
|
||||||
|
|
Reference in New Issue