Update file executable_install-program
This commit is contained in:
parent
32f5d5aaeb
commit
b4faaa8168
1 changed files with 1 additions and 1 deletions
|
@ -1343,7 +1343,7 @@ async function pruneInstallOrders(installOrders) {
|
||||||
newOrders[pkgManager] = await asyncFilter(newOrders[pkgManager], async (pkg) => {
|
newOrders[pkgManager] = await asyncFilter(newOrders[pkgManager], async (pkg) => {
|
||||||
try {
|
try {
|
||||||
log('info', 'Filtering Install Orders', `Checking for presence of ${pkg}`)
|
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
|
return true
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
return false
|
return false
|
||||||
|
|
Loading…
Reference in a new issue