From 7e5c88e45c933e038619f0364da8648cff435d6f Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Thu, 5 Jan 2023 05:01:00 +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 79dda959..ea3bfed8 100644 --- a/home/dot_local/bin/executable_install-program +++ b/home/dot_local/bin/executable_install-program @@ -527,7 +527,7 @@ async function ensurePackage(dep) { runCommand(`Checking if ${dep} is already installed via apt-get`, `dpkg -l ${dep} | grep -E '^ii' > /dev/null`) log('info', 'Filter', `${pkg} already installed via apt-get`) } catch (e) { - runCommand(`Installing ${dep} via apt-get`, `sudo apt-get install -y ${dep}`) + runCommand(`Installing ${dep} via apt-get`, `sudo apt-get -o DPkg::Options::=--force-confdef install -y ${dep}`) log('success', 'Install', `Successfully installed ${pkg} via apt-get`) } } else if (dnf) {