Update file executable_install-program

This commit is contained in:
Brian Zalewski 2023-01-05 04:20:02 +00:00
parent 0f4c8a7ffc
commit 7cea5756a6

View file

@ -1367,7 +1367,8 @@ async function pruneInstallOrders(installOrders) {
let newVal = newOrders[pkgManager] let newVal = newOrders[pkgManager]
for (const pkg in newOrders[pkgManager]) { for (const pkg in newOrders[pkgManager]) {
try { try {
runCommand('Pruning Homebrew packages that are already installed - ${pkg}', `brew list ${pkg}`) console.log(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