From b3d6dbf923df21ef4bf98bca2588f97247ad84d1 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Thu, 16 Feb 2023 06:15:16 +0000 Subject: [PATCH] Update file executable_install-program --- home/dot_local/bin/executable_install-program | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/home/dot_local/bin/executable_install-program b/home/dot_local/bin/executable_install-program index 7377ddd5..6856d484 100644 --- a/home/dot_local/bin/executable_install-program +++ b/home/dot_local/bin/executable_install-program @@ -1596,11 +1596,8 @@ async function pruneInstallOrders(installOrders) { } else if (pkgManager === 'brew') { let newVal = newOrders[pkgManager] for (const pkg of newOrders[pkgManager]) { - const mktemp = await $`mktemp` - const pkgTmp = mktemp.stdout - runCommand(`Populating temporary file with list of Homebrew packages`, `brew list > ${pkgTmp}`) try { - await $"cat ${pkgTmp} | grep '^" + pkg + "$'" + await $`brew list | grep '^${pkg}$'` newVal = newVal.filter((x) => x === pkg) } catch (e) { // Do nothing