From 514fa3afe47006da12776c568d6ad1f68ffd55c2 Mon Sep 17 00:00:00 2001 From: Graham Pugh Date: Tue, 16 Jul 2019 17:55:38 +0200 Subject: [PATCH] Fix for logic of Unsupported macOS version --- installinstallmacos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installinstallmacos.py b/installinstallmacos.py index e224ae7..cc3e588 100755 --- a/installinstallmacos.py +++ b/installinstallmacos.py @@ -650,7 +650,7 @@ def main(): not_valid = 'Unsupported Model Identifier' elif board_id not in product_info[product_id]['BoardIDs'] and is_vm == False: not_valid = 'Unsupported Board ID' - elif get_latest_version(build_info[0],product_info[product_id]['version']) != build_info[0]: + elif get_latest_version(build_info[0],product_info[product_id]['version']) != product_info[product_id]['version']: not_valid = 'Unsupported macOS version' else: valid_build_found = True