From deab2bca07f069b7ea34cc55b4fd05be988d0d7b Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sat, 29 Jul 2023 04:29:10 +0900 Subject: [PATCH] Tweak scripts --- .github/workflows/ci.yml | 2 +- main.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 28384514..505806d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -132,7 +132,7 @@ jobs: run: | set -euxo pipefail apt-get -o Acquire::Retries=10 -qq update - apt-get -o Acquire::Retries=10 -qq -o Dpkg::Use-Pty=0 install -y --no-install-recommends cargo + apt-get -o Acquire::Retries=10 -o Dpkg::Use-Pty=0 install -y --no-install-recommends cargo if: startsWith(matrix.container, 'ubuntu') || startsWith(matrix.container, 'debian') - name: Install requirements (fedora/rockylinux) run: | diff --git a/main.sh b/main.sh index 6706fb66..ad588852 100755 --- a/main.sh +++ b/main.sh @@ -261,9 +261,9 @@ apt_install() { apt_update fi if type -P sudo &>/dev/null; then - retry sudo apt-get -o Acquire::Retries=10 -qq -o Dpkg::Use-Pty=0 install -y --no-install-recommends "$@" + retry sudo apt-get -o Acquire::Retries=10 -o Dpkg::Use-Pty=0 install -y --no-install-recommends "$@" else - retry apt-get -o Acquire::Retries=10 -qq -o Dpkg::Use-Pty=0 install -y --no-install-recommends "$@" + retry apt-get -o Acquire::Retries=10 -o Dpkg::Use-Pty=0 install -y --no-install-recommends "$@" fi } apt_remove() {