From aa18135b24992b178fb42b6e2c772f64794db8ce Mon Sep 17 00:00:00 2001 From: Dylan Date: Wed, 30 Mar 2016 19:43:38 +1100 Subject: [PATCH] Revert CPU cache --- neofetch | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/neofetch b/neofetch index 0590c248..b263fc20 100755 --- a/neofetch +++ b/neofetch @@ -839,13 +839,8 @@ getcpu () { ;; "Mac OS X") - if [ -f "/Library/Caches/neofetch/cpu" ]; then - source "/Library/Caches/neofetch/cpu" - else - cpu="$(sysctl -n machdep.cpu.brand_string)" - cores=$(sysctl -n hw.ncpu) - cache "cpu" "$cpu" "/Library/Caches/" - fi + cpu="$(sysctl -n machdep.cpu.brand_string)" + cores=$(sysctl -n hw.ncpu) ;; *"BSD" | "Windows")