Latest
This commit is contained in:
parent
6a730b1d47
commit
52f5ab17be
2 changed files with 163 additions and 163 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
310
software.yml
310
software.yml
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue