From 5ca2fedb391ee7c3b8c88f1ecafb1dbd3a6cb81b Mon Sep 17 00:00:00 2001 From: Greg Neagle Date: Sun, 30 Mar 2025 10:21:09 -0700 Subject: [PATCH] Fix installation check on staged_os_installer items --- code/cli/munki/shared/updatecheck/analyze.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/cli/munki/shared/updatecheck/analyze.swift b/code/cli/munki/shared/updatecheck/analyze.swift index 0d33148f..020f6c72 100644 --- a/code/cli/munki/shared/updatecheck/analyze.swift +++ b/code/cli/munki/shared/updatecheck/analyze.swift @@ -447,7 +447,8 @@ func processInstall( } if let installerType = pkginfo["installer_type"] as? String, - installerType == "stage_os_installer" + installerType == "stage_os_installer", + installedState == .thisVersionInstalled { // installer appears to be staged; make sure the info is recorded // so we know we can launch the installer later