1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-07-03 20:45:23 +00:00
This commit is contained in:
Darien Raymond 2018-04-12 09:57:42 +02:00
commit 8d27d3c87e
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -230,8 +230,8 @@ installV2Ray(){
copyFile geosite.dat false copyFile geosite.dat false
# Install V2Ray server config to /etc/v2ray # Install V2Ray server config to /etc/v2ray
mkdir -p /etc/v2ray
if [[ ! -f "/etc/v2ray/config.json" ]]; then 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" cp "/tmp/v2ray/v2ray-${NEW_VER}-linux-${VDIS}/vpoint_vmess_freedom.json" "/etc/v2ray/config.json"
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then
colorEcho ${YELLOW} "Create V2Ray configuration file error, pleases create it manually." colorEcho ${YELLOW} "Create V2Ray configuration file error, pleases create it manually."