From ff2183680ccd25b814bdd3056b1900c0ae046030 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sun, 13 Mar 2016 23:35:43 +1100 Subject: [PATCH] Keep the full version in output --- neofetch | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/neofetch b/neofetch index df5d971d..e0025b0a 100755 --- a/neofetch +++ b/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" ;;