Add patterns for AMD CPUs with numeric core counts

This commit is contained in:
Daniel Gurney 2020-02-02 17:19:49 +02:00
parent 388ba9c0a2
commit e0e0033fc8
1 changed files with 2 additions and 0 deletions

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\"*)}"