From 617ab1bd07c5d32996acc3395c282df332703a55 Mon Sep 17 00:00:00 2001 From: IceCodeNew <32576256+IceCodeNew@users.noreply.github.com> Date: Wed, 30 Sep 2020 18:07:56 +0800 Subject: [PATCH] Always use latest script rather than a local cached script. --- README.md | 8 +++----- README.zh-Hans-CN.md | 8 +++----- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index f18e318..e89a51f 100644 --- a/README.md +++ b/README.md @@ -33,22 +33,20 @@ installed: /etc/systemd/system/v2ray@.service ``` // 安裝執行檔和 .dat 資料檔 -# curl -LROJ https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh -# bash install-release.sh +# bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh) ``` ### 安裝最新發行的 geoip.dat 和 geosite.dat ``` // 只更新 .dat 資料檔 -# curl -LROJ https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-dat-release.sh -# bash install-dat-release.sh +# bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-dat-release.sh) ``` ### 移除 V2Ray ``` -# bash install-release.sh --remove +# bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh) --remove ``` ### 解決問題 diff --git a/README.zh-Hans-CN.md b/README.zh-Hans-CN.md index 411bf53..71fe73d 100644 --- a/README.zh-Hans-CN.md +++ b/README.zh-Hans-CN.md @@ -33,22 +33,20 @@ installed: /etc/systemd/system/v2ray@.service ``` // 安装可执行文件和 .dat 数据文件 -# curl -LROJ https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh -# bash install-release.sh +# bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh) ``` ### 安装最新发行的 geoip.dat 和 geosite.dat ``` // 只更新 .dat 数据文件 -# curl -LROJ https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-dat-release.sh -# bash install-dat-release.sh +# bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-dat-release.sh) ``` ### 移除 V2Ray ``` -# bash install-release.sh --remove +# bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh) --remove ``` ### 解决问题