This is a tested working method of checking if the update has been
downloaded or not.#!/usr/bin/env bash # Exit statuses: # # 0 - Update
downloaded and ready to install # 1 - No update available # 2 - Update
not downloaded yet # 128 - Unknown error #...
After an update, the `/System/Volumes/Update/Update.plist` file
disappears. The update was downloaded already on my test machine when I
found that file, so I'm not sure if it appears after the update is
downloaded, or if it's there when an update is ...
I'm still experimenting some, but found this thread and wanted to add
some notes as I'm doing my own investigation.There is a file that tracks
the updates available it looks like:
`/System/Volumes/Update/Update.plist`You can pull the following key fo...