Browse Source

Update install-release.sh

pull/1057/head
sunshineplan 7 years ago committed by GitHub
parent
commit
fc08c010c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      release/install-release.sh

9
release/install-release.sh

@ -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…
Cancel
Save