From 2b6eb111e2c1f610a2acfa82dcbf4d43acc6dd8e Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Thu, 6 Feb 2014 16:09:01 -0500 Subject: [PATCH] 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 --- doc/install.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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.

-- 2.48.1