Commit 5466c660 authored by Dylan Araps's avatar Dylan Araps

GPU: Quote case

parent 5890e965
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment