From 4dc457acfdc87bb2fb7ab8c539e2cc7801446179 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Thu, 16 Feb 2023 05:15:36 +0000 Subject: [PATCH] Update file executable_install-program --- home/dot_local/bin/executable_install-program | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home/dot_local/bin/executable_install-program b/home/dot_local/bin/executable_install-program index 1605f2d9..085fe5b5 100644 --- a/home/dot_local/bin/executable_install-program +++ b/home/dot_local/bin/executable_install-program @@ -443,6 +443,7 @@ async function updateInstallMaps(preference, packages, scopedPreference, pkg, pa installOrdersService.concat(typeof serviceHook === 'string' ? [serviceHook] : serviceHook) } const groupsHook = getHook(packages, 'groups', scopedPreference, preference) + console.log('GROUPS HOOK') console.log(groupsHook) if (groupsHook) { installOrdersGroups.concat(typeof groupsHook === 'string' ? [groupsHook] : groupsHook) @@ -1602,7 +1603,7 @@ async function pruneInstallOrders(installOrders) { const pkgTmp = mktemp.stdout runCommand(`Populating temporary file with list of Homebrew packages`, `brew list > ${pkgTmp}`) try { - await $`cat ${pkgTmp} | grep '^${pkg}$'` + await $"cat ${pkgTmp} | grep '^" + pkg + "$'" newVal = newVal.filter((x) => x === pkg) } catch (e) { // Do nothing