Fix model bug for realsies this time

This commit is contained in:
Dylan 2016-05-08 11:41:45 +10:00
parent 7089189521
commit 68cb460f78
1 changed files with 4 additions and 2 deletions

View File

@ -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")