mirror of
https://github.com/munki/munki.git
synced 2026-01-07 06:59:57 -06:00
Fix for installer_choices_xml for pkg installs
This commit is contained in:
@@ -199,7 +199,7 @@ func install(_ pkgpath: String, options: PlistDict = [:]) async -> (Int, Bool) {
|
||||
}
|
||||
|
||||
var arguments = ["-verboseR", "-pkg", resolvedPkgPath, "-target", "/"]
|
||||
if let choicesXML = options["installer_choices_xml"] as? PlistDict,
|
||||
if let choicesXML = options["installer_choices_xml"] as? [PlistDict],
|
||||
let tempDir = TempDir.shared.path
|
||||
{
|
||||
let choicesXMLPath = (tempDir as NSString).appendingPathComponent("choices.xml")
|
||||
|
||||
Reference in New Issue
Block a user