Update file executable_install-program

This commit is contained in:
Brian Zalewski 2023-02-16 05:00:18 +00:00
parent cb15944457
commit e4a1ab600a

View file

@ -1600,7 +1600,7 @@ async function pruneInstallOrders(installOrders) {
const pkgTmp = mktemp.stdout
runCommand(`Populating temporary file with list of Homebrew packages`, `brew list > ${pkgTmp}`)
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)
} catch (e) {
// Do nothing