Merge pull request #1035 from sunshineplan/1

install-release.sh当/etc/v2ray/config.json存在时,不再生成/etc/v2ray文件夹,并修复缩进
pull/1041/head^2
DarienRaymond 7 years ago committed by GitHub
commit 8438b9b500
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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