mirror of https://github.com/v2ray/v2ray-core
Merge branch 'master' of https://github.com/v2ray/v2ray-core
commit
8d27d3c87e
|
@ -230,8 +230,8 @@ installV2Ray(){
|
|||
copyFile geosite.dat false
|
||||
|
||||
# Install V2Ray server config to /etc/v2ray
|
||||
mkdir -p /etc/v2ray
|
||||
if [[ ! -f "/etc/v2ray/config.json" ]]; then
|
||||
mkdir -p /etc/v2ray
|
||||
cp "/tmp/v2ray/v2ray-${NEW_VER}-linux-${VDIS}/vpoint_vmess_freedom.json" "/etc/v2ray/config.json"
|
||||
if [[ $? -ne 0 ]]; then
|
||||
colorEcho ${YELLOW} "Create V2Ray configuration file error, pleases create it manually."
|
||||
|
|
Loading…
Reference in New Issue