From bd7ebdfe4bb0142d6227edea7cfd9f3a0822252f Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 28 Aug 2016 11:47:56 +1000 Subject: [PATCH] Fix CPU name on android --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 4cef6725..6488eed1 100755 --- a/neofetch +++ b/neofetch @@ -637,7 +637,7 @@ getcpu() { case "$os" in "Linux" | "Windows") # Get cpu name - cpu="$(awk -F ': | @' '/model name/ {printf $2; exit}' /proc/cpuinfo)" + cpu="$(awk -F ': | @' '/model name|Processor/ {printf $2; exit}' /proc/cpuinfo)" # Get cpu speed if [ -d "/sys/devices/system/cpu/cpu0/cpufreq" ]; then