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

GPU: Quote case

parent 5890e965
...@@ -939,9 +939,9 @@ get_gpu() { ...@@ -939,9 +939,9 @@ get_gpu() {
fi fi
case "$gpu" in case "$gpu" in
intel*) gpu="Intel Integrated Graphics" ;; "intel"*) gpu="Intel Integrated Graphics" ;;
advanced*) "advanced"*)
gpu="${gpu/'[AMD/ATI]' }" gpu="${gpu/'[AMD/ATI]' }"
gpu="${gpu/'[AMD]' }" gpu="${gpu/'[AMD]' }"
gpu="${gpu/*\[}" gpu="${gpu/*\[}"
...@@ -949,13 +949,13 @@ get_gpu() { ...@@ -949,13 +949,13 @@ get_gpu() {
gpu="AMD $gpu" gpu="AMD $gpu"
;; ;;
nvidia*) "nvidia"*)
gpu="${gpu/*\[}" gpu="${gpu/*\[}"
gpu="${gpu/\]*}" gpu="${gpu/\]*}"
gpu="NVIDIA $gpu" gpu="NVIDIA $gpu"
;; ;;
*virtualbox*) *"virtualbox"*)
gpu="VirtualBox Graphics Adapter" gpu="VirtualBox Graphics Adapter"
;; ;;
esac 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