Update file executable_install-program
This commit is contained in:
parent
cb15944457
commit
e4a1ab600a
1 changed files with 1 additions and 1 deletions
|
@ -1600,7 +1600,7 @@ async function pruneInstallOrders(installOrders) {
|
||||||
const pkgTmp = mktemp.stdout
|
const pkgTmp = mktemp.stdout
|
||||||
runCommand(`Populating temporary file with list of Homebrew packages`, `brew list > ${pkgTmp}`)
|
runCommand(`Populating temporary file with list of Homebrew packages`, `brew list > ${pkgTmp}`)
|
||||||
try {
|
try {
|
||||||
runCommand(`Ensuring Homebrew package is not already installed - ${pkg}`, `cat ${pkgTmp} | grep '^${pkg}$'`)
|
await $`cat ${pkgTmp} | grep '^${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