From ca7a8ff528e5ef5a034070eed208a60aacf932ef Mon Sep 17 00:00:00 2001 From: Vieno Hakkerinen Date: Mon, 5 Apr 2021 21:33:04 +0200 Subject: [PATCH] contrib/actions: use apt-get instead of apt apt does not have a stable CLI interface. Don't use it in scripts. --- contrib/actions/install-dependencies.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/actions/install-dependencies.sh b/contrib/actions/install-dependencies.sh index fc4c8e96..8c5c600a 100755 --- a/contrib/actions/install-dependencies.sh +++ b/contrib/actions/install-dependencies.sh @@ -2,7 +2,7 @@ set -e -apt update -apt install git subversion build-essential python gawk unzip libncurses5-dev zlib1g-dev libssl-dev wget time -apt clean +apt-get -y update +apt-get -y install git subversion build-essential python gawk unzip libncurses5-dev zlib1g-dev libssl-dev wget time +apt-get -y clean rm -rf /var/lib/apt/lists/*