Update file executable_install-program
This commit is contained in:
parent
04c38b21a7
commit
7e5c88e45c
1 changed files with 1 additions and 1 deletions
|
@ -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`)
|
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`)
|
log('info', 'Filter', `${pkg} already installed via apt-get`)
|
||||||
} catch (e) {
|
} 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`)
|
log('success', 'Install', `Successfully installed ${pkg} via apt-get`)
|
||||||
}
|
}
|
||||||
} else if (dnf) {
|
} else if (dnf) {
|
||||||
|
|
Loading…
Reference in a new issue