Commit c0506dbc authored by Muhammad Herdiansyah's avatar Muhammad Herdiansyah

CPU [Linux]: Strip 'FPU' from CPU output

Since we're strictly looking for CPU name here, any output with "FPU"* will be unnecessary. This mainly affects MIPS
parent defa2f4d
...@@ -921,6 +921,7 @@ get_cpu() { ...@@ -921,6 +921,7 @@ get_cpu() {
cpu="${cpu//Core}" cpu="${cpu//Core}"
cpu="${cpu//with Radeon * Graphics}" cpu="${cpu//with Radeon * Graphics}"
cpu="${cpu//, altivec supported}" cpu="${cpu//, altivec supported}"
cpu="${cpu//FPU*}"
# Add CPU cores to the output. # Add CPU cores to the output.
[[ "$cpu_cores" != "off" && "$cores" ]] && \ [[ "$cpu_cores" != "off" && "$cores" ]] && \
......
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