mirror of
https://gitlab.com/fscarmen/warp.git
synced 2026-06-24 07:02:39 +08:00
Update t.sh
Former-commit-id: c315f342c045fda2424b6fee5dbee38e38f08cb8
This commit is contained in:
@@ -544,11 +544,11 @@ proxy(){
|
||||
# 安装 WARP Linux 客户端
|
||||
if [[ ! $(warp-cli --accept-tos status | tr A-Z a-z) =~ connecting ]]; then
|
||||
green " $T83 "
|
||||
[[ $SYSTEM = centos ]] && rpm -ivh http://pkg.cloudflareclient.com/cloudflare-release-el$(grep -i version_id /etc/os-release | cut -d \" -f2 | cut -d . -f1).rpm &&
|
||||
[[ $SYSTEM = centos ]] && (rpm -ivh http://pkg.cloudflareclient.com/cloudflare-release-el$(grep -i version_id /etc/os-release | cut -d \" -f2 | cut -d . -f1).rpm
|
||||
yum -y install cloudflare-warp ||
|
||||
(apt -y update && apt -y install lsb-release && curl https://pkg.cloudflareclient.com/pubkey.gpg | sudo apt-key add - &&
|
||||
echo 'deb http://pkg.cloudflareclient.com/ $(lsb_release -sc) main' | sudo tee /etc/apt/sources.list.d/cloudflare-client.list &&
|
||||
apt -y install cloudflare-warp)
|
||||
(apt -y update && apt -y install lsb-release && curl https://pkg.cloudflareclient.com/pubkey.gpg | sudo apt-key add -
|
||||
echo 'deb http://pkg.cloudflareclient.com/ $(lsb_release -sc) main' | sudo tee /etc/apt/sources.list.d/cloudflare-client.list
|
||||
apt -y install cloudflare-warp))
|
||||
|
||||
# 设置为代理模式
|
||||
green " $T84 "
|
||||
|
||||
Reference in New Issue
Block a user