Use awk instead for sw_vers
This commit is contained in:
parent
2cd662d21e
commit
7c24e19264
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -501,7 +501,7 @@ getdistro () {
|
|||
;;
|
||||
|
||||
"iPhone OS")
|
||||
distro="iOS $(sw_vers -productVersion)"
|
||||
distro="iOS $(sw_vers | awk '/ProductVersion:/ {printf $2}')"
|
||||
;;
|
||||
|
||||
"OpenBSD")
|
||||
|
|
Loading…
Reference in a new issue