From e565343c15d0b219fdb3b47862aca771c3efd566 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Mon, 9 Jan 2023 07:17:09 +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 ea421f15..0f921cc7 100644 --- a/home/dot_local/bin/executable_install-program +++ b/home/dot_local/bin/executable_install-program @@ -1461,7 +1461,7 @@ async function pruneInstallOrders(installOrders) { }) } else if (pkgManager === 'flatpak') { 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) => { try { await runSilentCommand(`test -d ${flatpakDir}/app/${pkg}`)