From d4bab346cae2a87c5b010d8f9226cf21558e2d1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=AC=E5=93=A5=E4=BE=83=E4=BE=83=E4=BE=83ygkkk?= Date: Wed, 24 May 2023 09:54:37 +0000 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4CFwarpgg.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CFwarpgg.sh | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 CFwarpgg.sh diff --git a/CFwarpgg.sh b/CFwarpgg.sh deleted file mode 100644 index 0f0690e..0000000 --- a/CFwarpgg.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash -export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin -export LANG=en_US.UTF-8 -wpygV="23.5.4 V 0.9.9 " -[[ $EUID -ne 0 ]] && echo "请以root模式运行脚本" && exit -if [[ -f /etc/redhat-release ]]; then -release="centos" -elif cat /etc/issue | grep -Eqi "debian"; then -release="debian" -elif cat /etc/issue | grep -Eqi "ubuntu"; then -release="ubuntu" -elif cat /etc/issue | grep -Eqi "centos|red hat|redhat"; then -release="centos" -elif cat /proc/version | grep -Eqi "debian"; then -release="debian" -elif cat /proc/version | grep -Eqi "ubuntu"; then -release="ubuntu" -elif cat /proc/version | grep -Eqi "centos|red hat|redhat"; then -release="centos" -else -echo "不支持你当前系统,请选择使用Ubuntu,Debian,Centos系统" && exit -fi -rm -rf /root/CFwarp.sh -bit=`uname -m` -if [[ $bit = aarch64 ]]; then -wget -O /root/CFwarp.sh https://gitlab.com/rwkgyg/CFwarp/-/raw/main/version/CFwarp.sh.a && chmod +x /root/CFwarp.sh -./CFwarp.sh -elif [[ $bit = x86_64 ]]; then -wget -O /root/CFwarp.sh https://gitlab.com/rwkgyg/CFwarp/-/raw/main/version/CFwarp.sh && chmod +x /root/CFwarp.sh -./CFwarp.sh -else -echo "目前脚本不支持$bit架构" && exit -fi