mirror of https://github.com/mack-a/v2ray-agent
fix(脚本): 修复添加订阅的错误记录
parent
476df4f840
commit
3d89ed0305
|
@ -6943,7 +6943,7 @@ addOtherSubscribe() {
|
||||||
elif ! echo "${remoteSubscribeUrl}" | grep -q ":"; then
|
elif ! echo "${remoteSubscribeUrl}" | grep -q ":"; then
|
||||||
echoContent red " ---> 规则不合法"
|
echoContent red " ---> 规则不合法"
|
||||||
else
|
else
|
||||||
echo "${remoteSubscribeUrl}" >/etc/v2ray-agent/subscribe_remote/remoteSubscribeUrl
|
echo "${remoteSubscribeUrl}" >>/etc/v2ray-agent/subscribe_remote/remoteSubscribeUrl
|
||||||
local remoteUrl=
|
local remoteUrl=
|
||||||
remoteUrl=$(echo "${remoteSubscribeUrl}" | awk -F "[:]" '{print $1":"$2}')
|
remoteUrl=$(echo "${remoteSubscribeUrl}" | awk -F "[:]" '{print $1":"$2}')
|
||||||
|
|
||||||
|
@ -7870,7 +7870,7 @@ menu() {
|
||||||
cd "$HOME" || exit
|
cd "$HOME" || exit
|
||||||
echoContent red "\n=============================================================="
|
echoContent red "\n=============================================================="
|
||||||
echoContent green "作者:mack-a"
|
echoContent green "作者:mack-a"
|
||||||
echoContent green "当前版本:v2.10.2"
|
echoContent green "当前版本:v2.10.3"
|
||||||
echoContent green "Github:https://github.com/mack-a/v2ray-agent"
|
echoContent green "Github:https://github.com/mack-a/v2ray-agent"
|
||||||
echoContent green "描述:八合一共存脚本\c"
|
echoContent green "描述:八合一共存脚本\c"
|
||||||
showInstallStatus
|
showInstallStatus
|
||||||
|
|
Loading…
Reference in New Issue