From a54bf41ae7a1352df2f4dddb87f1d0873504461b Mon Sep 17 00:00:00 2001 From: Dct Mei Date: Fri, 27 Mar 2020 13:50:29 +0800 Subject: [PATCH] Modify the installation method of the configuration file --- install-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-release.sh b/install-release.sh index 3d82a1a..b04b739 100644 --- a/install-release.sh +++ b/install-release.sh @@ -329,7 +329,7 @@ installV2Ray(){ installFile geosite.dat # Install V2Ray server config to /usr/local/etc/v2ray/ - if [[ ! -f '/usr/local/etc/v2ray/config.json' ]]; then + if [[ ! -d '/usr/local/etc/v2ray/' ]]; then install -d /usr/local/etc/v2ray/ install -m 644 "${TMP_DIRECTORY}vpoint_vmess_freedom.json" /usr/local/etc/v2ray/config.json