GPU: Quote case

This commit is contained in:
Dylan Araps 2016-11-29 20:55:06 +11:00
parent 5890e965b5
commit 5466c66053

View file

@ -939,9 +939,9 @@ get_gpu() {
fi
case "$gpu" in
intel*) gpu="Intel Integrated Graphics" ;;
"intel"*) gpu="Intel Integrated Graphics" ;;
advanced*)
"advanced"*)
gpu="${gpu/'[AMD/ATI]' }"
gpu="${gpu/'[AMD]' }"
gpu="${gpu/*\[}"
@ -949,13 +949,13 @@ get_gpu() {
gpu="AMD $gpu"
;;
nvidia*)
"nvidia"*)
gpu="${gpu/*\[}"
gpu="${gpu/\]*}"
gpu="NVIDIA $gpu"
;;
*virtualbox*)
*"virtualbox"*)
gpu="VirtualBox Graphics Adapter"
;;
esac