mirror of https://github.com/v2ray/v2ray-core
				
				
				
			
						commit
						4325f273a0
					
				| 
						 | 
					@ -1,7 +1,7 @@
 | 
				
			||||||
#!/bin/bash
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
GO_AMD64=https://storage.googleapis.com/golang/go1.5.1.linux-amd64.tar.gz
 | 
					GO_AMD64=https://storage.googleapis.com/golang/go1.5.2.linux-amd64.tar.gz
 | 
				
			||||||
GO_X86=https://storage.googleapis.com/golang/go1.5.1.linux-386.tar.gz
 | 
					GO_X86=https://storage.googleapis.com/golang/go1.5.2.linux-386.tar.gz
 | 
				
			||||||
ARCH=$(uname -m)
 | 
					ARCH=$(uname -m)
 | 
				
			||||||
GO_CUR=${GO_AMD64}
 | 
					GO_CUR=${GO_AMD64}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -19,7 +19,6 @@ if [ git_not_installed ]; then
 | 
				
			||||||
  apt-get install git -y
 | 
					  apt-get install git -y
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
if [ -z "$GOPATH" ]; then
 | 
					if [ -z "$GOPATH" ]; then
 | 
				
			||||||
  curl -o go_latest.tar.gz ${GO_CUR}
 | 
					  curl -o go_latest.tar.gz ${GO_CUR}
 | 
				
			||||||
  tar -C /usr/local -xzf go_latest.tar.gz
 | 
					  tar -C /usr/local -xzf go_latest.tar.gz
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue