This commit is contained in:
Brian Zalewski 2023-06-17 19:13:56 +00:00
parent 6a730b1d47
commit 52f5ab17be
2 changed files with 163 additions and 163 deletions

View file

@ -187,8 +187,7 @@ async function generateInstallOrders(pkgsToInstall) {
normalCheck = softwarePackages[packageKey]['_' + currentSelector]
if (doubleScoped) {
try {
await $doubleScoped
processPluginOrders(pkg)
await runSilentCommand(doubleScoped)
} catch (e) {
let pref
if (softwarePackages[packageKey]['_' + currentSelector + ':' + preference + ':' + osID]) {
@ -201,21 +200,21 @@ async function generateInstallOrders(pkgsToInstall) {
pref = osType + ':' + preference
}
log('info', 'Filter', `${pkg} is being skipped because of the _when:${pref} condition`)
processPluginOrders(pkg)
continue pkgFor
}
} else if (scopedPkgManager) {
try {
await $scopedPkgManager
processPluginOrders(pkg)
await runSilentCommand(scopedPkgManager)
} catch (e) {
const pref = preference
log('info', 'Filter', `${pkg} is being skipped because of the _when:${pref} condition`)
processPluginOrders(pkg)
continue pkgFor
}
} else if (scopedSystem) {
try {
await $scopedSystem
processPluginOrders(pkg)
await runSilentCommand(scopedSystem)
} catch (e) {
let pref
if (softwarePackages[packageKey]['_' + currentSelector + ':' + osID]) {
@ -224,14 +223,15 @@ async function generateInstallOrders(pkgsToInstall) {
pref = osType
}
log('info', 'Filter', `${pkg} is being skipped because of the _when:${pref} condition`)
processPluginOrders(pkg)
continue pkgFor
}
} else if (normalCheck) {
try {
await $normalCheck
processPluginOrders(pkg)
await runSilentCommand(normalCheck)
} catch (e) {
log('info', 'Filter', `${pkg} is being skipped because of the _when condition`)
processPluginOrders(pkg)
continue pkgFor
}
}

File diff suppressed because it is too large Load diff