Update file executable_install-program

This commit is contained in:
Brian Zalewski 2023-01-05 04:21:38 +00:00
parent 69e4bcaf31
commit eec1273fd8

View file

@ -1367,8 +1367,7 @@ async function pruneInstallOrders(installOrders) {
let newVal = newOrders[pkgManager] let newVal = newOrders[pkgManager]
for (const pkg of newOrders[pkgManager]) { for (const pkg of newOrders[pkgManager]) {
try { try {
console.log(pkg) runCommand(`Pruning packages that are already installed via Homebrew - ${pkg}`, `brew list ${pkg}`)
runCommand('Pruning ${pkg} if it is already installed by Homebrew', `brew list ${pkg}`)
newVal = newVal.filter(x => x === pkg) newVal = newVal.filter(x => x === pkg)
} catch (e) { } catch (e) {
// Do nothing // Do nothing