Update file executable_install-program
This commit is contained in:
parent
bb587c3eb6
commit
c68236c74b
1 changed files with 1 additions and 1 deletions
|
@ -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`)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue