Skip to content

Commit

Permalink
Make apt-get quiet
Browse files Browse the repository at this point in the history
  • Loading branch information
fniephaus committed Mar 26, 2020
1 parent 478b091 commit 0a13f77
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1010,13 +1010,13 @@ async function run() {
}

async function install64bitDependencies(deps) {
await exec.exec(`sudo apt-get install -y --no-install-recommends ${deps}`)
await exec.exec(`sudo apt-get install -qq --no-install-recommends ${deps}`)
}

async function install32bitDependencies(deps) {
await exec.exec('sudo dpkg --add-architecture i386')
await exec.exec('sudo apt-get update')
await exec.exec(`sudo apt-get install -y --no-install-recommends ${deps}`)
await exec.exec(`sudo apt-get install -qq --no-install-recommends ${deps}`)
}

function isLinux() {
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ async function run() {
}

async function install64bitDependencies(deps) {
await exec.exec(`sudo apt-get install -y --no-install-recommends ${deps}`)
await exec.exec(`sudo apt-get install -qq --no-install-recommends ${deps}`)
}

async function install32bitDependencies(deps) {
await exec.exec('sudo dpkg --add-architecture i386')
await exec.exec('sudo apt-get update')
await exec.exec(`sudo apt-get install -y --no-install-recommends ${deps}`)
await exec.exec(`sudo apt-get install -qq --no-install-recommends ${deps}`)
}

function isLinux() {
Expand Down

0 comments on commit 0a13f77

Please sign in to comment.