Skip to content

Commit e02f47a

Browse files
authored
Merge pull request #3734 from sandstorm-io/docs-go-version
2 parents 3189623 + 6c85ef1 commit e02f47a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ On Debian or Ubuntu, you should be able to get all these with:
154154
sudo apt-get install build-essential libcap-dev xz-utils zip \
155155
unzip strace curl discount git python3 zlib1g-dev \
156156
cmake flex bison locales
157-
GO_VERSION=$(curl 'https://go.dev/VERSION?m=text')
157+
GO_VERSION=$(curl 'https://go.dev/VERSION?m=text' | head -n 1)
158158
curl -L "https://go.dev/dl/$GO_VERSION.linux-amd64.tar.gz" -o go.tar.gz \
159159
&& sudo tar -C /usr/local -xvf go.tar.gz \
160160
&& rm go.tar.gz

0 commit comments

Comments
 (0)