From c0a32c361795c57c56a9869c0faa6abea1fcf7d2 Mon Sep 17 00:00:00 2001 From: kirin10000 <57820613+kirin10000@users.noreply.github.com> Date: Wed, 6 Jan 2021 01:31:09 +0800 Subject: [PATCH] Update README.md (#18) --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 8a6a9d0..1fbfd50 100644 --- a/README.md +++ b/README.md @@ -23,19 +23,19 @@ installed: /etc/systemd/system/xray@.service **Install & Upgrade Xray-core and geodata with User nobody, but will NOT overwrite User in existing service files** ``` -# bash <(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh) install +# bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install ``` **Update geoip.dat and geosite.dat only** ``` -# bash <(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh) install-geodata +# bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install-geodata ``` **Remove Xray, except json and logs** ``` -# bash <(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh) remove +# bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ remove ``` ## Advance @@ -43,23 +43,23 @@ installed: /etc/systemd/system/xray@.service **Install & Upgrade Xray-core and geodata with User root, which will overwrite User in existing service files** ``` -# bash <(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh) install -u root +# bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install -u root ``` **Install & Upgrade Xray-core without geodata** ``` -# bash <(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh) install --without-geodata +# bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install --without-geodata ``` **Remove Xray, include json and logs** ``` -# bash <(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh) remove --purge +# bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ remove --purge ``` ## More Usage ``` -# bash <(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh) help +# bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ help ```