From 5f75dff4b66e341b84d286556b992b79c16beb86 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Mon, 23 Jul 2018 16:47:43 +0200 Subject: [PATCH] Fetch updates before installing zip on debian Signed-off-by: Knut Ahlers --- SHA256SUMS | 2 +- golang.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SHA256SUMS b/SHA256SUMS index 4dd1436..1541dda 100644 --- a/SHA256SUMS +++ b/SHA256SUMS @@ -1,2 +1,2 @@ 05e4977d541b2ef07c757acca912b7b58b379fb425eceb3a1f53c829a78a4aa4 docker2aci.sh -36f8d0fb8c85b3ec8653a23905242907f0705a5bc6ece595e09013666fd5486e golang.sh +a67013cf190c70c8ca8d18c6045e8735d16926dd0fc6d804c3a40ef4c1123b43 golang.sh diff --git a/golang.sh b/golang.sh index cd52b12..7eba6dd 100755 --- a/golang.sh +++ b/golang.sh @@ -6,7 +6,7 @@ curl -sL https://raw.githubusercontent.com/Luzifer/github-publish/master/SHA256S (which zip 2>&1 1>/dev/null) || { (which apk 2>&1 1>/dev/null) && apk add --update zip - (which apt-get 2>&1 1>/dev/null) && apt-get install -y zip + (which apt-get 2>&1 1>/dev/null) && apt-get update && apt-get install -y zip } function step() {