Fix processing of LocalOnlyManifest. Addresses #1270

This commit is contained in:
Greg Neagle
2025-09-25 09:03:50 -07:00
parent f9dcb96be9
commit d65b1d1b70
2 changed files with 6 additions and 4 deletions
@@ -298,11 +298,11 @@ func processManifest(
}
// process all included manifests first
for manifestName in manifestdata["included_manifests"] as? [String] ?? [] {
if manifestName.isEmpty {
for includedManifestName in manifestdata["included_manifests"] as? [String] ?? [] {
if includedManifestName.isEmpty {
continue
}
let nestedManifestPath = try getManifest(manifestName)
let nestedManifestPath = try getManifest(includedManifestName)
if stopRequested() {
return // maybe should throw a StopRequestedException?
}
@@ -132,7 +132,9 @@ func processLocalOnlyManifest(catalogList: [String], installInfo: inout PlistDic
_ = try await processManifest(
localOnlyManifest,
forKey: key,
installInfo: &installInfo
installInfo: &installInfo,
parentCatalogs: catalogList,
manifestName: "LocalOnlyManifest \(localOnlyManifestName)"
)
if stopRequested() {
return