JSS-Scripts
JSS-Scripts copied to clipboard
OSUpdateNotifier: record wrong key in plist ForceUpdateStartTimeInEpoch
osupdatenotifier.sh line 975 set wrong key name (ForceUpdateStartEpochTime need change to ForceUpdateStartTimeInEpoch) old:
# Record the start time for forced update via GUI the plist
setPlistValue "$BundleID" "ForceUpdateStartEpochTime" "integer" "$ForceUpdateStartEpochTime" "$DeprecationPlist"
fix:
# Record the start time for forced update via GUI the plist
setPlistValue "$BundleID" "ForceUpdateStartTimeInEpoch" "integer" "$ForceUpdateStartTimeInEpoch" "$DeprecationPlist"