diff --git a/home/dot_local/bin/executable_install-program b/home/dot_local/bin/executable_install-program index 026711d1..92dac2fc 100644 --- a/home/dot_local/bin/executable_install-program +++ b/home/dot_local/bin/executable_install-program @@ -187,7 +187,7 @@ async function generateInstallOrders(pkgsToInstall) { normalCheck = softwarePackages[packageKey]['_' + currentSelector] if (doubleScoped) { try { - runSilentCommand(doubleScoped) + await $doubleScoped } catch (e) { let pref if (softwarePackages[packageKey]['_' + currentSelector + ':' + preference + ':' + osID]) { @@ -205,7 +205,7 @@ async function generateInstallOrders(pkgsToInstall) { } } else if (scopedPkgManager) { try { - runSilentCommand(scopedPkgManager) + await $scopedPkgManager } catch (e) { const pref = preference log('info', 'Filter', `${pkg} is being skipped because of the _when:${pref} condition`) @@ -214,7 +214,7 @@ async function generateInstallOrders(pkgsToInstall) { } } else if (scopedSystem) { try { - runSilentCommand(scopedSystem) + await $scopedSystem } catch (e) { let pref if (softwarePackages[packageKey]['_' + currentSelector + ':' + osID]) { @@ -228,7 +228,7 @@ async function generateInstallOrders(pkgsToInstall) { } } else if (normalCheck) { try { - runSilentCommand(normalCheck) + await $normalCheck } catch (e) { log('info', 'Filter', `${pkg} is being skipped because of the _when condition`) processPluginOrders(pkg)