Changed case
This commit is contained in:
parent
7889c093b2
commit
b3dcfe820c
1 changed files with 2 additions and 4 deletions
6
neofetch
6
neofetch
|
@ -644,10 +644,8 @@ getcpu() {
|
||||||
"Linux" | "Windows")
|
"Linux" | "Windows")
|
||||||
# Get cpu name
|
# Get cpu name
|
||||||
case "$distro" in
|
case "$distro" in
|
||||||
"Android"*)
|
"Android"*) cpu="$(getprop ro.product.board)" ;;
|
||||||
cpu="$(getprop ro.product.board)" ;;
|
*) cpu="$(awk -F ': | @' '/model name|Processor/ {printf $2; exit}' /proc/cpuinfo)" ;;
|
||||||
*)
|
|
||||||
cpu="$(awk -F ': | @' '/model name|Processor/ {printf $2; exit}' /proc/cpuinfo)" ;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Get cpu speed
|
# Get cpu speed
|
||||||
|
|
Loading…
Reference in a new issue