From: Shenghou Ma Date: Thu, 6 Feb 2014 21:09:01 +0000 (-0500) Subject: doc/install.html: get rid of explicit version number in docs. X-Git-Tag: go1.3beta1~807 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=2b6eb111e2c1f610a2acfa82dcbf4d43acc6dd8e;p=gostls13.git doc/install.html: get rid of explicit version number in docs. So that we don't need to update the file each time a new version is released. LGTM=dave, r, adg R=golang-codereviews, dave, josharian, gobot, adg, r CC=golang-codereviews https://golang.org/cl/48730043 --- diff --git a/doc/install.html b/doc/install.html index f08c7665f3..b02324bdd3 100644 --- a/doc/install.html +++ b/doc/install.html @@ -76,12 +76,13 @@ and extract it into /usr/local, creating a Go tree in

-tar -C /usr/local -xzf go1.1.linux-amd64.tar.gz
+tar -C /usr/local -xzf go$VERSION.$OS-$ARCH.tar.gz
 

-The name of the archive may differ, depending on the version of Go you are -installing and your system's operating system and processor architecture. +Choose the archive file appropriate for your installation. +For instance, if you are installing Go version 1.2 for 64-bit x86 on Linux, +the archive you want is called go1.2.linux-amd64.tar.gz.