mirror of https://gitlab.com/rwkgyg/CFwarp.git
Update CFwarp.sh
This commit is contained in:
parent
ea19390394
commit
e37f1148a2
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
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.3.17 V 0.9.6 "
|
wpygV="23.3.17 V 0.9.61 "
|
||||||
remoteV=`wget -qO- https://gitlab.com/rwkgyg/CFwarp/raw/main/CFwarp.sh | sed -n 4p | cut -d '"' -f 2`
|
remoteV=`wget -qO- https://gitlab.com/rwkgyg/CFwarp/raw/main/CFwarp.sh | sed -n 4p | cut -d '"' -f 2`
|
||||||
chmod +x /root/CFwarp.sh
|
chmod +x /root/CFwarp.sh
|
||||||
red='\033[0;31m'
|
red='\033[0;31m'
|
||||||
|
@ -1025,7 +1025,7 @@ red "未正常安装CFwarp脚本!" && exit
|
||||||
fi
|
fi
|
||||||
wget -N --no-check-certificate https://gitlab.com/rwkgyg/CFwarp/raw/main/CFwarp.sh
|
wget -N --no-check-certificate https://gitlab.com/rwkgyg/CFwarp/raw/main/CFwarp.sh
|
||||||
chmod +x /root/CFwarp.sh
|
chmod +x /root/CFwarp.sh
|
||||||
ln -sf /root/CFwarp.sh /usr/bin/cf 2>/dev/null
|
ln -sf /root/CFwarp.sh /usr/bin/cf 2>/dev/null || true
|
||||||
green "CFwarp安装脚本升级成功"
|
green "CFwarp安装脚本升级成功"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue