commit
29a7f46e39
|
@ -88,6 +88,7 @@ or
|
||||||
### 解決問題
|
### 解決問題
|
||||||
|
|
||||||
* 「[使用證書時權限不足](https://github.com/v2fly/fhs-install-v2ray/wiki/Insufficient-permissions-when-using-certificates)」。
|
* 「[使用證書時權限不足](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)」
|
||||||
|
|
||||||
## 參數
|
## 參數
|
||||||
|
|
||||||
|
|
|
@ -336,7 +336,7 @@ install_v2ray() {
|
||||||
install_file v2ctl
|
install_file v2ctl
|
||||||
install -d /usr/local/lib/v2ray/
|
install -d /usr/local/lib/v2ray/
|
||||||
# If the file exists, geoip.dat and geosite.dat will not be installed or updated
|
# 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 geoip.dat
|
||||||
install_file geosite.dat
|
install_file geosite.dat
|
||||||
fi
|
fi
|
||||||
|
@ -522,7 +522,7 @@ main() {
|
||||||
echo 'installed: /usr/local/bin/v2ray'
|
echo 'installed: /usr/local/bin/v2ray'
|
||||||
echo 'installed: /usr/local/bin/v2ctl'
|
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 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/geoip.dat'
|
||||||
echo 'installed: /usr/local/lib/v2ray/geosite.dat'
|
echo 'installed: /usr/local/lib/v2ray/geosite.dat'
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue