mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-12-14 00:24:59 +00:00
fix install script
This commit is contained in:
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…
x
Reference in New Issue
Block a user