mirror of https://github.com/v2ray/v2ray-core
fix install script
parent
8eab746c96
commit
e7bf0c2e49
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# This file is accessible as https://install.direct/go.sh
|
# 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 ]]
|
while [[ $# > 0 ]]
|
||||||
do
|
do
|
||||||
|
@ -115,7 +115,7 @@ echo "Installing V2Ray ${VER} on ${ARCH}"
|
||||||
if [ -n "$LOCAL" ]; then
|
if [ -n "$LOCAL" ]; then
|
||||||
cp "$LOCAL" "/tmp/v2ray/v2ray.zip"
|
cp "$LOCAL" "/tmp/v2ray/v2ray.zip"
|
||||||
else
|
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"
|
install_component "curl"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue