]> Cypherpunks repositories - gostls13.git/commitdiff
doc/install.html: get rid of explicit version number in docs.
authorShenghou Ma <minux.ma@gmail.com>
Thu, 6 Feb 2014 21:09:01 +0000 (16:09 -0500)
committerShenghou Ma <minux.ma@gmail.com>
Thu, 6 Feb 2014 21:09:01 +0000 (16:09 -0500)
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

doc/install.html

index f08c7665f3383d1557b4c0c79a35a28fb20d5ef7..b02324bdd3174d31827991302408be87e8bdd969 100644 (file)
@@ -76,12 +76,13 @@ and extract it into <code>/usr/local</code>, creating a Go tree in
 </p>
 
 <pre>
-tar -C /usr/local -xzf go1.1.linux-amd64.tar.gz
+tar -C /usr/local -xzf go$VERSION.$OS-$ARCH.tar.gz
 </pre>
 
 <p>
-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 <code>go1.2.linux-amd64.tar.gz</code>.
 </p>
 
 <p>