1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-02-20 23:47:21 -05:00
This commit is contained in:
Darien Raymond 2018-04-14 13:10:14 +02:00
commit 048f0ee56e
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -233,10 +233,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