Update file executable_install-program

This commit is contained in:
Brian Zalewski 2023-01-04 10:55:04 +00:00
parent bb587c3eb6
commit c68236c74b

View file

@ -1069,7 +1069,7 @@ async function installPackageList(packageManager, packages) {
} else if (packageManager === 'apt') { } else if (packageManager === 'apt') {
for (let pkg of packages) { for (let pkg of packages) {
try { try {
await $`sudo apt-get install -y ${pkg}` await $`sudo apt-get -o DPkg::Options::=--force-confdef install -y ${pkg}`
} catch (e) { } catch (e) {
log('error', 'apt-get Failure', `There was an error installing ${pkg} with apt-get`) log('error', 'apt-get Failure', `There was an error installing ${pkg} with apt-get`)
} }