mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Improve setup script für Ubuntu systems
* 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 .
This commit is contained in:
parent
1d0499ddea
commit
7e9ea2c9ac
1 changed files with 1 additions and 0 deletions
|
|
@ -11,4 +11,5 @@ apt install -y make bash sed tar git nginx fcgiwrap gnutls-bin
|
||||||
# Install Go from binary distribution
|
# Install Go from binary distribution
|
||||||
latest_go="$(curl https://go.dev/VERSION\?m=text).linux-amd64.tar.gz"
|
latest_go="$(curl https://go.dev/VERSION\?m=text).linux-amd64.tar.gz"
|
||||||
curl -O https://dl.google.com/go/$latest_go
|
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
|
tar -C /usr/local -xzf $latest_go
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue