mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-09-27 22:36:12 -04:00
Update install-release.sh
This commit is contained in:
parent
3c2b75f548
commit
fc08c010c6
@ -237,10 +237,13 @@ makeExecutable() {
|
||||
installV2Ray(){
|
||||
# Install V2Ray binary to /usr/bin/v2ray
|
||||
mkdir -p /usr/bin/v2ray
|
||||
copyFile v2ray || return $?
|
||||
copyFile v2ray
|
||||
if [[ $? -ne 0 ]]; then
|
||||
colorEcho ${RED} "Copy V2Ray binary failed."
|
||||
return 1
|
||||
fi
|
||||
makeExecutable v2ray
|
||||
copyFile v2ctl
|
||||
makeExecutable v2ctl
|
||||
copyFile v2ctl && makeExecutable v2ctl
|
||||
copyFile geoip.dat
|
||||
copyFile geosite.dat
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user