Fix iphone model appearing in distro output

This commit is contained in:
Dylan 2016-05-08 10:06:49 +10:00
parent 38f9ebcb4c
commit 2fd316eb9c

View file

@ -501,7 +501,8 @@ getdistro () {
;;
"iPhone OS")
distro="iOS $(sw_vers -productVersion)"
ios_version="$(sw_vers -productVersion)"
distro="iOS ${ios_version/ *}"
;;
"OpenBSD")