Remove processor info from Intel GPUs

This commit is contained in:
Dylan 2016-02-12 09:19:22 +11:00
parent 4f3c2e3b1f
commit 32110bc87e
1 changed files with 2 additions and 0 deletions

2
fetch
View File

@ -908,6 +908,7 @@ getgpu () {
intel*) intel*)
gpu=${gpu/Intel Corporation } gpu=${gpu/Intel Corporation }
gpu=${gpu/Haswell-??? } gpu=${gpu/Haswell-??? }
gpu=${gpu/?th Gen Core Processor}
brand="Intel " brand="Intel "
;; ;;
@ -986,6 +987,7 @@ getgpu () {
gpu=${gpu// OEM} gpu=${gpu// OEM}
gpu=${gpu// Mars} gpu=${gpu// Mars}
gpu=${gpu// Series} gpu=${gpu// Series}
gpu=${gpu// Controller}
gpu=${gpu/\/*} gpu=${gpu/\/*}
fi fi