diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 59e8056..dd19b83 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,7 +26,7 @@ jobs: steps: - if: matrix.os == 'ubuntu-latest' - run: sudo apt install at-spi2-core + run: sudo apt-get install at-spi2-core - uses: actions/checkout@v3 diff --git a/src/linux.js b/src/linux.js index 769000c..f27a7a9 100644 --- a/src/linux.js +++ b/src/linux.js @@ -11,8 +11,8 @@ const REQUIRED_PACKAGES = [ ]; export async function setup(version) { - await exec.exec('sudo apt update'); - await exec.exec(`sudo apt install ${REQUIRED_PACKAGES.join(' ')}`); + await exec.exec('sudo apt-get update'); + await exec.exec(`sudo apt-get install ${REQUIRED_PACKAGES.join(' ')}`); await exec.exec(`git clone https://github.com/vslavik/diff-pdf.git -b v${version} --depth 1 ${WORKING_DIR}`); const buildOptions = {