From b4faaa8168f6d64b0c540637395688660b4d907c Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Thu, 5 Jan 2023 03:46:59 +0000 Subject: [PATCH] Update file executable_install-program --- home/dot_local/bin/executable_install-program | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/dot_local/bin/executable_install-program b/home/dot_local/bin/executable_install-program index 9fc02359..0d46ceb3 100644 --- a/home/dot_local/bin/executable_install-program +++ b/home/dot_local/bin/executable_install-program @@ -1343,7 +1343,7 @@ async function pruneInstallOrders(installOrders) { newOrders[pkgManager] = await asyncFilter(newOrders[pkgManager], async (pkg) => { try { log('info', 'Filtering Install Orders', `Checking for presence of ${pkg}`) - runCommand(`Checking if ${pkg} is already installed via apt-get`, `dpkg -l ${pkg} | grep -E '^ii' > /dev/null`) + await $`dpkg -l ${pkg} | grep -E '^ii' > /dev/null` return true } catch (e) { return false