mirror of
https://github.com/KittyKatt/screenFetch.git
synced 2026-04-24 03:00:16 -04:00
Fix for issue #68.
This commit is contained in:
@@ -738,8 +738,7 @@ detectcpu () {
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
cpu=$(echo "${cpu}" | sed 's/(\([Tt][Mm]\))//g;s/(\([Rr]\))//g;s/^ //g;s/ //g')
|
||||
cpu=$(echo "${cpu}" | sed -r '{s/\([tT][mM]\)|\s[pP]rocessor//g}')
|
||||
cpu=$(echo "${cpu}" | sed -r '{s/\([tT][mM]\)|\([Rr]\)|[pP]rocessor//g}' | xargs)
|
||||
[[ "$verbosity" -eq "1" ]] && verboseOut "Finding current CPU...found as '$cpu'"
|
||||
}
|
||||
# CPU Detection - End
|
||||
|
||||
Reference in New Issue
Block a user