gpu: Fix ATI/AMD branding issue.
This commit is contained in:
parent
da94f65b8c
commit
0d89e1a400
1 changed files with 3 additions and 1 deletions
4
neofetch
4
neofetch
|
@ -1313,8 +1313,10 @@ get_gpu() {
|
|||
|
||||
case "$gpu" in
|
||||
*"advanced"*)
|
||||
brand="${gpu/*AMD*/AMD}"
|
||||
brand="${gpu/*AMD*ATI*/AMD ATI}"
|
||||
brand="${brand:-${gpu/*AMD*/AMD}}"
|
||||
brand="${brand:-${gpu/*ATI*/ATi}}"
|
||||
|
||||
gpu="${gpu/'[AMD/ATI]' }"
|
||||
gpu="${gpu/'[AMD]' }"
|
||||
gpu="${gpu/OEM }"
|
||||
|
|
Loading…
Reference in a new issue