Update file executable_install-program
This commit is contained in:
parent
6481b5f0d2
commit
4d9be471b5
1 changed files with 3 additions and 1 deletions
|
@ -1478,7 +1478,9 @@ async function pruneInstallOrders(installOrders) {
|
||||||
if (pkgManager === 'appimage') {
|
if (pkgManager === 'appimage') {
|
||||||
newOrders[pkgManager] = await asyncFilter(newOrders[pkgManager], async (pkg) => {
|
newOrders[pkgManager] = await asyncFilter(newOrders[pkgManager], async (pkg) => {
|
||||||
try {
|
try {
|
||||||
await runSilentCommand(`zap list | grep ${pkg} > /dev/null`)
|
console.log('---zap')
|
||||||
|
console.log(pkg)
|
||||||
|
await runSilentCommand(`zap list | grep "${pkg}" > /dev/null`)
|
||||||
return false
|
return false
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
return true
|
return true
|
||||||
|
|
Loading…
Reference in a new issue