MLBZ521/MacAdmin

LatestOSSupported.sh

Closed this issue · 1 comments

LatestOSSupported.sh: showing wrong os supported. I have a iMac20,1 Intel (Retina 5K, 27-inch, 2020) and its showing : LatestOSSupported : Catalina

I think if you add this lines it would be fine:
elif [[ $modelMajorVersion -ge $6 &amp;&amp; ( $(/usr/bin/bc <<< "${osMajorVersion} >= 11") -eq 1 || $(/usr/bin/bc &lt;&lt;&lt; "${osMinorPatchVersion} >= 9") -eq 1 ) ]]; then
echo "Big Sur"
and latestOSSupport=$( iMacModelCheck 7 10 13 13 14 15 )