Commit 4413c0f2 authored by Dylan Araps's avatar Dylan Araps

CPU: Remove duplicate substitutions

parent dc08df12
......@@ -899,10 +899,9 @@ get_cpu() {
"speed") cpu="${cpu#*@ }" ;;
"on" | "tiny")
cpu="${cpu/AMD }"
cpu="${cpu/Intel }"
cpu="${cpu/Core }"
cpu="${cpu/Core? Duo }"
cpu="${cpu/AMD }"
[[ "$cpu_shorthand" == "tiny" ]] && cpu="${cpu/@*}"
;;
......
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