From 7e9ea2c9acfb285260342c857de3cb00b2d07a54 Mon Sep 17 00:00:00 2001 From: Bernhard Reiter Date: Thu, 26 Jan 2023 11:56:51 +0100 Subject: [PATCH] =?UTF-8?q?Improve=20setup=20script=20f=C3=BCr=20Ubuntu=20?= =?UTF-8?q?systems?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Make sure that we do not have an old go installation around, because otherwise it maybe broken by untarring the newer one. As documented on https://go.dev/doc/install . --- docs/scripts/prepareUbuntuInstanceForITests.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/scripts/prepareUbuntuInstanceForITests.sh b/docs/scripts/prepareUbuntuInstanceForITests.sh index a062bbe..8811c53 100755 --- a/docs/scripts/prepareUbuntuInstanceForITests.sh +++ b/docs/scripts/prepareUbuntuInstanceForITests.sh @@ -11,4 +11,5 @@ apt install -y make bash sed tar git nginx fcgiwrap gnutls-bin # Install Go from binary distribution latest_go="$(curl https://go.dev/VERSION\?m=text).linux-amd64.tar.gz" curl -O https://dl.google.com/go/$latest_go +rm -rf /usr/local/go # be sure that we do not have an old installation tar -C /usr/local -xzf $latest_go