From 68cb460f78190465c155069472d0b2a80de486ce Mon Sep 17 00:00:00 2001 From: Dylan Date: Sun, 8 May 2016 11:41:45 +1000 Subject: [PATCH] Fix model bug for realsies this time --- neofetch | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/neofetch b/neofetch index 60dc8072..f50496c9 100755 --- a/neofetch +++ b/neofetch @@ -501,8 +501,10 @@ getdistro () { ;; "iPhone OS") - # distro="iOS $(awk '/OS-Version:/ {printf $4}' /var/logs/AppleSupport/general.log)" - distro="iOS" + distro="iOS $(sw_vers -productVersion)" + + # "uname -m" doesn't print architecture on iOS so we force it off. + os_arch="off" ;; "OpenBSD")