mirror of https://github.com/mack-a/v2ray-agent
fix(脚本): 修改判断
parent
f86db2be02
commit
9dfd9985ce
|
@ -2724,7 +2724,6 @@ customV2RayInstall() {
|
||||||
if [[ -z ${selectCustomInstallType} ]]; then
|
if [[ -z ${selectCustomInstallType} ]]; then
|
||||||
selectCustomInstallType=0
|
selectCustomInstallType=0
|
||||||
fi
|
fi
|
||||||
echoContent red selectCustomInstallType:${selectCustomInstallType}
|
|
||||||
if [[ "${selectCustomInstallType}" =~ ^[0-4]+$ ]]; then
|
if [[ "${selectCustomInstallType}" =~ ^[0-4]+$ ]]; then
|
||||||
cleanUp xrayClean
|
cleanUp xrayClean
|
||||||
totalProgress=17
|
totalProgress=17
|
||||||
|
@ -2735,7 +2734,7 @@ customV2RayInstall() {
|
||||||
handleNginx stop
|
handleNginx stop
|
||||||
initNginxConfig 4
|
initNginxConfig 4
|
||||||
# 随机path
|
# 随机path
|
||||||
if ${selectCustomInstallType} | grep -q 1 || echo ${selectCustomInstallType} | grep -q 3 || echo ${selectCustomInstallType} | grep -q 4; then
|
if echo ${selectCustomInstallType} | grep -q 1 || echo ${selectCustomInstallType} | grep -q 3 || echo ${selectCustomInstallType} | grep -q 4; then
|
||||||
randomPathFunction 5
|
randomPathFunction 5
|
||||||
customCDNIP 6
|
customCDNIP 6
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue