UoE-macOS/jss

Include list in coreconfig-softwareupdate-run.py

tep74 opened this issue · 4 comments

tep74 commented

It would be helpful to include a list the available updates in the jamfHelper dialog box.

How's this? It only seems to make sense to list updates that require a restart, since it's only when a restart is required that the user sees anything.

Script:
https://github.com/UoE-macOS/jss/blob/i6/coreconfig-softwareupdate-run.py
Changes:
master...i6

Actually this behaviour seems wrong - if an update requires a restart, we don't install any of them until the user agrees to restart. Which isn't really what we want to be doing. I'd better open an bug (done).

tep74 commented

Yes, only for updates that require a restart, because the others don't even prompt a dialog box. The reason I'd like the list of what's available is for users who THINK their systems are up to date, but still have updates available - like the 10.13.2 supplemental update.

tep74 commented

Works perfectly for me - restarted and updated with list!

I've opened #7 to look at re-working the logic so that non-reboot-requiring updates get installed before prompting the user.