Modify the installation method of the configuration file

pull/1/head
Dct Mei 2020-03-27 13:50:29 +08:00
parent 068d99fa9a
commit a54bf41ae7
No known key found for this signature in database
GPG Key ID: 50BF8B712DCAD7EA
1 changed files with 1 additions and 1 deletions

View File

@ -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