Skip to content

Commit

Permalink
tidy-up: apt-get options
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Jan 29, 2025
1 parent 5c2e858 commit 526db87
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion _build-runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ if [ ! -f .cw-initialized ]; then
extra+=' checksec'
fi
# shellcheck disable=SC2086
apt-get --quiet 2 --option Dpkg::Use-Pty=0 --yes install \
apt-get --option Dpkg::Use-Pty=0 install \
curl git gpg rsync python3-pefile make cmake ninja-build \
zip xz-utils time jq secure-delete ${extra}
elif [ "${_DISTRO}" = 'alpine' ]; then
Expand Down
4 changes: 2 additions & 2 deletions _bumper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ cd "$(dirname "$0")"
if ! command -v hxclean >/dev/null 2>&1; then
case "$(uname)" in
Linux*)
apt-get --quiet 2 --option Dpkg::Use-Pty=0 --yes update
apt-get --quiet 2 --option Dpkg::Use-Pty=0 --yes install \
apt-get --option Dpkg::Use-Pty=0 update
apt-get --option Dpkg::Use-Pty=0 install \
curl git gpg zip jq html-xml-utils;;
Darwin*)
brew install \
Expand Down
4 changes: 2 additions & 2 deletions _ci-linux-debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ elif [[ "${CW_CONFIG:-}" = *'linux'* ]]; then
fi
fi

apt-get --option Dpkg::Use-Pty=0 --yes update
apt-get --option Dpkg::Use-Pty=0 update
# shellcheck disable=SC2086
apt-get --option Dpkg::Use-Pty=0 --yes install --no-install-suggests --no-install-recommends \
apt-get --option Dpkg::Use-Pty=0 install \
curl ca-certificates git gpg gpg-agent patch ssh rsync python3-pefile make cmake ninja-build \
libssl-dev zlib1g-dev \
zip xz-utils time jq secure-delete ${extra}
Expand Down

0 comments on commit 526db87

Please sign in to comment.