File tree 1 file changed +13
-11
lines changed
1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,8 @@ You can use the 'remove' option to undo update-golang.sh work:
61
61
Example
62
62
=======
63
63
64
+ Sample session:
65
+
64
66
lab@ubu1:~$ go
65
67
The program 'go' can be found in the following packages:
66
68
* golang-go
@@ -114,17 +116,17 @@ Customization
114
116
115
117
These environment variables are available for customization:
116
118
117
- SOURCE =https://storage.googleapis.com/golang ;# download location
118
- DESTINATION=/usr/local ;# install destination
119
- RELEASE=1.8.3 ;# golang release
120
- OS=linux ;# os
121
- ARCH_PROBE=uname -m ;# arch detection
122
- ARCH=amd64 ;# arch
123
- PROFILED=/etc/profile.d/golang_path.sh ;# update PATH, optionally set GOROOT
124
- CACHE=/usr/local ;# cache downloads
125
- GOPATH=
126
- DEBUG=
127
-
119
+ RELEASE_LIST =https://golang.org/doc/devel/release.html ;# search for new releases from this url
120
+ SOURCE=https://storage.googleapis.com/golang ;# download source location
121
+ DESTINATION=/usr/local ;# install destination
122
+ RELEASE=1.8.3 ;# force golang release
123
+ OS=linux ;# force os
124
+ ARCH_PROBE='uname -m' ;# force arch detection command
125
+ ARCH=amd64 ;# force arch
126
+ PROFILED=/etc/profile.d/golang_path.sh ;# update PATH, optionally set GOROOT
127
+ CACHE=/usr/local ;# cache downloads in this dir
128
+ GOPATH= ;# use this GOPATH
129
+ DEBUG= ;# set to enable debug
128
130
129
131
Example:
130
132
You can’t perform that action at this time.
0 commit comments