From 421f1ad52d9a6f2b7569dcc7789079cca1067e77 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sun, 8 May 2016 11:00:13 +1000 Subject: [PATCH] Fix iOS version --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 67a192bb..da42867a 100755 --- a/neofetch +++ b/neofetch @@ -501,7 +501,7 @@ getdistro () { ;; "iPhone OS") - distro="iOS $(sw_vers | awk '/ProductVersion:/ {printf $2}')" + distro="iOS $(awk '/OS-Version:/ {printf $4}' /var/logs/AppleSupport/general.log)" ;; "OpenBSD")