diff --git a/code/client/munkilib/appleupdates/au.py b/code/client/munkilib/appleupdates/au.py index 7eb9bc550..16a2ef0f4 100644 --- a/code/client/munkilib/appleupdates/au.py +++ b/code/client/munkilib/appleupdates/au.py @@ -159,15 +159,15 @@ def get_recommended_updates(self, suppress_scan=False): recommended_updates = su_prefs.pref('RecommendedUpdates') or [] processed_updates = [] for item in su_results.get('updates', []): - for update in recommended_updates: - # if we find a matching update, update the item info and - # add it to the list of recommended updates - if (item.get('Title') == update.get('Display Name') and - item.get('Version') == update.get('Display Version') and - item.get('Deferred') != "YES" - ): - item.update(update) - processed_updates.append(item) + if item.get('Deferred') != "YES": + for update in recommended_updates: + # if we find a matching update, update the item info and + # add it to the list of recommended updates + if (item.get('Title') == update.get('Display Name') and + item.get('Version') == update.get('Display Version') + ): + item.update(update) + processed_updates.append(item) return processed_updates def get_apple_updates(self, suppress_scan=False): diff --git a/code/client/munkilib/version.plist b/code/client/munkilib/version.plist index 0322064f6..fdd5fd0c4 100644 --- a/code/client/munkilib/version.plist +++ b/code/client/munkilib/version.plist @@ -3,6 +3,6 @@ CFBundleShortVersionString - 6.0.1 + 6.0.2