JSS-Scripts icon indicating copy to clipboard operation
JSS-Scripts copied to clipboard

OSUpdateNotifier: record wrong key in plist ForceUpdateStartTimeInEpoch

Open phu-ngo opened this issue 3 years ago • 0 comments

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"

phu-ngo avatar Jan 10 '22 04:01 phu-ngo