Update file executable_install-program
This commit is contained in:
parent
0f4c8a7ffc
commit
7cea5756a6
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue