mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 23:47:07 -05:00
commit
4325f273a0
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
GO_AMD64=https://storage.googleapis.com/golang/go1.5.1.linux-amd64.tar.gz
|
||||
GO_X86=https://storage.googleapis.com/golang/go1.5.1.linux-386.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.2.linux-386.tar.gz
|
||||
ARCH=$(uname -m)
|
||||
GO_CUR=${GO_AMD64}
|
||||
|
||||
@ -19,7 +19,6 @@ if [ git_not_installed ]; then
|
||||
apt-get install git -y
|
||||
fi
|
||||
|
||||
|
||||
if [ -z "$GOPATH" ]; then
|
||||
curl -o go_latest.tar.gz ${GO_CUR}
|
||||
tar -C /usr/local -xzf go_latest.tar.gz
|
||||
|
Loading…
Reference in New Issue
Block a user