From 8001d4ec59d4f485a74b343a8c4f33fa010016b0 Mon Sep 17 00:00:00 2001 From: Dct Mei Date: Tue, 14 Jul 2020 10:17:37 +0800 Subject: [PATCH 1/2] style: Double quotes changed to single quotes The unified format is very important. --- install-release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-release.sh b/install-release.sh index 72988b5..753c393 100644 --- a/install-release.sh +++ b/install-release.sh @@ -336,7 +336,7 @@ install_v2ray() { install_file v2ctl install -d /usr/local/lib/v2ray/ # If the file exists, geoip.dat and geosite.dat will not be installed or updated - if [[ ! -f "/usr/local/lib/v2ray/.undat" ]]; then + if [[ ! -f '/usr/local/lib/v2ray/.undat' ]]; then install_file geoip.dat install_file geosite.dat fi @@ -522,7 +522,7 @@ main() { echo 'installed: /usr/local/bin/v2ray' echo 'installed: /usr/local/bin/v2ctl' # If the file exists, the content output of installing or updating geoip.dat and geosite.dat will not be displayed - if [[ ! -f "/usr/local/lib/v2ray/.undat" ]]; then + if [[ ! -f '/usr/local/lib/v2ray/.undat' ]]; then echo 'installed: /usr/local/lib/v2ray/geoip.dat' echo 'installed: /usr/local/lib/v2ray/geosite.dat' fi From 08487ddca54b1f5eed14b5982f2169eb967e0630 Mon Sep 17 00:00:00 2001 From: Dct Mei Date: Tue, 14 Jul 2020 10:26:23 +0800 Subject: [PATCH 2/2] feat: Added new Wiki For #20 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 7675e53..bccfc6a 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,7 @@ or ### 解決問題 * 「[使用證書時權限不足](https://github.com/v2fly/fhs-install-v2ray/wiki/Insufficient-permissions-when-using-certificates)」。 +* 「[不安裝或更新 geoip.dat 和 geosite.dat](https://github.com/v2fly/fhs-install-v2ray/wiki/Do-not-install-or-update-geoip.dat-and-geosite.dat)」 ## 參數