mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 23:47:07 -05:00
Update install.sh
This commit is contained in:
parent
b083773411
commit
d86af91c94
@ -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
Block a user