Revert CPU cache

This commit is contained in:
Dylan 2016-03-30 19:43:38 +11:00
parent 7c6fcb789f
commit aa18135b24

View file

@ -839,13 +839,8 @@ getcpu () {
;; ;;
"Mac OS X") "Mac OS X")
if [ -f "/Library/Caches/neofetch/cpu" ]; then
source "/Library/Caches/neofetch/cpu"
else
cpu="$(sysctl -n machdep.cpu.brand_string)" cpu="$(sysctl -n machdep.cpu.brand_string)"
cores=$(sysctl -n hw.ncpu) cores=$(sysctl -n hw.ncpu)
cache "cpu" "$cpu" "/Library/Caches/"
fi
;; ;;
*"BSD" | "Windows") *"BSD" | "Windows")