This commit is contained in:
Brian Zalewski 2023-06-15 06:33:36 +00:00
parent 7a1d04d778
commit 9d79a0f115

View file

@ -187,7 +187,7 @@ async function generateInstallOrders(pkgsToInstall) {
normalCheck = softwarePackages[packageKey]['_' + currentSelector] normalCheck = softwarePackages[packageKey]['_' + currentSelector]
if (doubleScoped) { if (doubleScoped) {
try { try {
await $` ${doubleScoped}` runSilentCommand(doubleScoped)
} catch (e) { } catch (e) {
let pref let pref
if (softwarePackages[packageKey]['_' + currentSelector + ':' + preference + ':' + osID]) { if (softwarePackages[packageKey]['_' + currentSelector + ':' + preference + ':' + osID]) {
@ -205,7 +205,7 @@ async function generateInstallOrders(pkgsToInstall) {
} }
} else if (scopedPkgManager) { } else if (scopedPkgManager) {
try { try {
await $` ${scopedPkgManager}` runSilentCommand(scopedPkgManager)
} catch (e) { } catch (e) {
const pref = preference const pref = preference
log('info', 'Filter', `${pkg} is being skipped because of the _when:${pref} condition`) log('info', 'Filter', `${pkg} is being skipped because of the _when:${pref} condition`)
@ -214,7 +214,7 @@ async function generateInstallOrders(pkgsToInstall) {
} }
} else if (scopedSystem) { } else if (scopedSystem) {
try { try {
await $` ${scopedSystem}` runSilentCommand(scopedSystem)
} catch (e) { } catch (e) {
let pref let pref
if (softwarePackages[packageKey]['_' + currentSelector + ':' + osID]) { if (softwarePackages[packageKey]['_' + currentSelector + ':' + osID]) {
@ -228,7 +228,7 @@ async function generateInstallOrders(pkgsToInstall) {
} }
} else if (normalCheck) { } else if (normalCheck) {
try { try {
await $` ${normalCheck}` runSilentCommand(normalCheck)
} catch (e) { } catch (e) {
log('info', 'Filter', `${pkg} is being skipped because of the _when condition`) log('info', 'Filter', `${pkg} is being skipped because of the _when condition`)
processPluginOrders(pkg) processPluginOrders(pkg)