1
0
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:
kxjhlele 2015-12-06 10:38:30 +08:00
parent b083773411
commit d86af91c94

View File

@ -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