mirror of https://gitlab.com/rwkgyg/CFwarp.git
Update CFwarp.sh
This commit is contained in:
parent
92ff1c3040
commit
95cb93b910
|
@ -2,7 +2,7 @@
|
||||||
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
|
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
wpygV="23.5.4 V 0.9.9 "
|
wpygV="23.5.4 V 0.9.9 "
|
||||||
[[ $EUID -ne 0 ]] && "请以root模式运行脚本" && exit
|
[[ $EUID -ne 0 ]] && echo "请以root模式运行脚本" && exit
|
||||||
if [[ -f /etc/redhat-release ]]; then
|
if [[ -f /etc/redhat-release ]]; then
|
||||||
release="centos"
|
release="centos"
|
||||||
elif cat /etc/issue | grep -Eqi "debian"; then
|
elif cat /etc/issue | grep -Eqi "debian"; then
|
||||||
|
|
Loading…
Reference in New Issue