Skip to content

Commit

Permalink
Merge pull request #41 from hidakatsuya/use-apt-get
Browse files Browse the repository at this point in the history
Suppress the warning to use apt-get instead of apt
  • Loading branch information
hidakatsuya authored Feb 12, 2023
2 parents 3587ba7 + eb27f48 commit f20f720
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions src/linux.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit f20f720

Please sign in to comment.