made PR two lines shorter :)

This commit is contained in:
Andrew Titmuss 2016-08-14 14:09:28 +10:00
parent 8d2db93545
commit 53d2cf6661
No known key found for this signature in database
GPG key ID: 8AF42975C787E0B2

View file

@ -83,10 +83,7 @@ getmodel() {
esac esac
;; ;;
"Mac OS X") "Mac OS X") model="$(sysctl -n hw.model)" ;;
model="$(sysctl hw.model)"
model="${model//hw.model: /}"
;;
esac esac
} }