Update file executable_install-program

This commit is contained in:
Brian Zalewski 2023-01-09 07:17:09 +00:00
parent f1dc923917
commit e565343c15

View file

@ -1461,7 +1461,7 @@ async function pruneInstallOrders(installOrders) {
}) })
} else if (pkgManager === 'flatpak') { } else if (pkgManager === 'flatpak') {
const flatpakInstallation = await $`flatpak --installations` const flatpakInstallation = await $`flatpak --installations`
const flatpakDir = flatpakInstallation.stdout.replace(/\\n/g, '') const flatpakDir = flatpakInstallation.stdout.replace('\n', '')
newOrders[pkgManager] = await asyncFilter(newOrders[pkgManager], async (pkg) => { newOrders[pkgManager] = await asyncFilter(newOrders[pkgManager], async (pkg) => {
try { try {
await runSilentCommand(`test -d ${flatpakDir}/app/${pkg}`) await runSilentCommand(`test -d ${flatpakDir}/app/${pkg}`)