mirror of https://gitlab.com/rwkgyg/CFwarp.git
Update CFwarp.sh
This commit is contained in:
parent
82de1c9db3
commit
578d3cfc76
|
@ -672,7 +672,6 @@ UPwpyg(){
|
||||||
if [[ ! $(type -P wg-quick) && ! $(type -P warp-cli) ]] && [[ ! -f '/root/CFwarp.sh' ]]; then
|
if [[ ! $(type -P wg-quick) && ! $(type -P warp-cli) ]] && [[ ! -f '/root/CFwarp.sh' ]]; then
|
||||||
red "未正常安装CFwarp脚本!" && exit
|
red "未正常安装CFwarp脚本!" && exit
|
||||||
fi
|
fi
|
||||||
rm -rf /root/CFwarp.sh /usr/bin/cf
|
|
||||||
wget -N https://gitlab.com/rwkgyg/CFwarp/raw/main/CFwarp.sh
|
wget -N 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
|
ln -sf /root/CFwarp.sh /usr/bin/cf
|
||||||
|
|
Loading…
Reference in New Issue