From 3269dccc61227a9a5caabd4858ae323a7cda9660 Mon Sep 17 00:00:00 2001 From: marslo Date: Tue, 16 May 2023 17:05:14 -0700 Subject: [PATCH] fix the mac osx os abnormal --- screenfetch-dev | 2 -- 1 file changed, 2 deletions(-) diff --git a/screenfetch-dev b/screenfetch-dev index ccc3148a..dc6b667d 100755 --- a/screenfetch-dev +++ b/screenfetch-dev @@ -6353,9 +6353,7 @@ infoDisplay () { if [[ "$distro" == "Mac OS X" || "$distro" == "macOS" ]]; then sysArch="$(getconf LONG_BIT)bit" prodVers=$(sw_vers --productVersion ) - prodVers=${prodVers:16} buildVers=$(sw_vers --buildVersion ) - buildVers=${buildVers:14} if [ -n "$distro_more" ]; then mydistro=$(echo -e "$labelcolor OS:$textcolor $distro_more $sysArch") else