Merge pull request #1400 from dgurney/master

Add patterns for AMD CPUs with numeric core counts
This commit is contained in:
dylan
2020-02-02 17:54:57 +02:00
committed by GitHub

View File

@@ -2191,6 +2191,8 @@ get_cpu() {
cpu="${cpu//Quad-Core}"
cpu="${cpu//Six-Core}"
cpu="${cpu//Eight-Core}"
cpu="${cpu//[1-9][0-9]-Core}"
cpu="${cpu//[0-9]-Core}"
cpu="${cpu//, * Compute Cores}"
cpu="${cpu//Core / }"
cpu="${cpu//(\"AuthenticAMD\"*)}"