1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-26 09:25:23 +00:00

fix install script

This commit is contained in:
Darien Raymond 2016-08-21 18:02:12 +02:00
parent 8eab746c96
commit e7bf0c2e49
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -1,7 +1,7 @@
#!/bin/bash
# This file is accessible as https://install.direct/go.sh
# Original source is located at v2ray.com/core/release/install-release.sh
# Original source is located at github.com/v2ray/v2ray-core/release/install-release.sh
while [[ $# > 0 ]]
do
@ -115,7 +115,7 @@ echo "Installing V2Ray ${VER} on ${ARCH}"
if [ -n "$LOCAL" ]; then
cp "$LOCAL" "/tmp/v2ray/v2ray.zip"
else
DOWNLOAD_LINK="https://v2ray.com/core/releases/download/${VER}/v2ray-linux-${VDIS}.zip"
DOWNLOAD_LINK="https://github.com/v2ray/v2ray-core/releases/download/${VER}/v2ray-linux-${VDIS}.zip"
install_component "curl"