diff --git a/code/client/munkilib/appleupdates/su_tool.py b/code/client/munkilib/appleupdates/su_tool.py index c80ccf9c..7d4d5ab0 100644 --- a/code/client/munkilib/appleupdates/su_tool.py +++ b/code/client/munkilib/appleupdates/su_tool.py @@ -168,9 +168,16 @@ def run(options_list, catalog_url=None, stop_allowed=False): # --list-specific output if mode == 'list': - if output.startswith(' * '): + if output.strip().startswith('*'): # collect list of items available for install - update_entry = output[5:] + if output.startswith(' * '): + update_entry = output[5:] + elif output.startswith('* Label: '): + # seen in 10.15 betas + update_entry = output[9:] + else: + # unknown format + continue update_parts = update_entry.split('-') # version is the bit after the last hyphen # (let's hope there are no hyphens in the versions!)