Skip to content

Commit

Permalink
修改脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
qist committed Apr 19, 2023
1 parent 15a439e commit 0b5e3c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
```

#### 编译
Expand Down
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0b5e3c4

Please sign in to comment.