Skip to content

Commit

Permalink
scripts: replace apt with apt-get
Browse files Browse the repository at this point in the history
apt does not have stable CLI, and it prints out warnings on it on each
invocation. Replace apt with apt-get.
  • Loading branch information
tuminoid committed Nov 28, 2022
1 parent 6a7f364 commit 9fd3c40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/ci-conformance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ cleanup() {
trap cleanup EXIT

# Ensure that python3-pip is installed.
apt update
apt install -y python3-pip
apt-get update -y
apt-get install -y python3-pip
rm -rf /var/lib/apt/lists/*

# Install/upgrade pip and requests module explicitly for HTTP calls.
Expand Down
4 changes: 2 additions & 2 deletions scripts/ci-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ cleanup() {
trap cleanup EXIT

# Ensure that python3-pip is installed.
apt update
apt install -y python3-pip
apt-get update -y
apt-get install -y python3-pip
rm -rf /var/lib/apt/lists/*

# Install/upgrade pip and requests module explicitly for HTTP calls.
Expand Down

0 comments on commit 9fd3c40

Please sign in to comment.