Update file executable_install-program

This commit is contained in:
Brian Zalewski 2023-01-05 03:46:59 +00:00
parent 32f5d5aaeb
commit b4faaa8168

View file

@ -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