From 0b5e3c43234cc55f5013086c3fdb7c34b6ec0c84 Mon Sep 17 00:00:00 2001 From: qist <87984115@qq.com> Date: Wed, 19 Apr 2023 15:26:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- install.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5e228bf8..f9c1d79f 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ wget -N --no-check-certificate -O /usr/local/xray-ui-linux-amd64.tar.gz https:// ### VPS直接运行一键脚本 ```bash -wget -N https://raw.githubusercontent.com/qist/xray-ui/main/install.sh && bash install.sh +bash <(curl -Ls https://raw.githubusercontent.com/qist/xray-ui/main/install.sh) ``` #### 编译 diff --git a/install.sh b/install.sh index aacf0a6a..384cfed2 100644 --- a/install.sh +++ b/install.sh @@ -27,6 +27,7 @@ cur_dir=$(pwd) [[ $EUID -ne 0 ]] && echo -e "${red}错误:${plain} 必须使用root用户运行此脚本!\n" && exit 1 # check os + if [[ -f /etc/redhat-release ]]; then release="centos" elif cat /etc/issue | grep -Eqi "debian"; then