Fix iOS version

This commit is contained in:
Dylan 2016-05-08 11:00:13 +10:00
parent 7c24e19264
commit 421f1ad52d

View file

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