Keep the full version in output
This commit is contained in:
parent
9d40beb186
commit
ff2183680c
1 changed files with 1 additions and 2 deletions
3
neofetch
3
neofetch
|
@ -469,9 +469,8 @@ case "$os" in
|
|||
|
||||
"Mac OS X")
|
||||
osx_version=$(sw_vers -productVersion)
|
||||
osx_version=${osx_version%.*}
|
||||
|
||||
case "$osx_version" in
|
||||
case "${osx_version%.*}" in
|
||||
"10.4") codename="Mac OS X Tiger" ;;
|
||||
"10.5") codename="Mac OS X Leopard" ;;
|
||||
"10.6") codename="Mac OS X Snow Leopard" ;;
|
||||
|
|
Loading…
Reference in a new issue