🗡Fix bug

This commit is contained in:
Leon 2021-08-03 13:20:53 +08:00
parent 950b45bb49
commit 6506177674

View File

@ -77,7 +77,7 @@ docker_install() {
docker_install docker_install
warn "降低学习成本,小白回车到底,一路默认选择" warn "降低学习成本,小白回车到底,一路默认选择"
#配置文件目录 #配置文件目录
echo -n -e "\e[33m一.请输入配置文件保存的绝对路径,直接回车为当前目录:\e[0m" echo -n -e "\e[33m一.请输入配置文件保存的绝对路径(示例:/root),直接回车为当前目录:\e[0m"
read jd_path read jd_path
JD_PATH=$jd_path JD_PATH=$jd_path
if [ -z "$jd_path" ]; then if [ -z "$jd_path" ]; then
@ -294,7 +294,7 @@ else
sleep 20 sleep 20
if [ "$port" != "2" ]; then if [ "$(grep -c "token" $CONFIG_PATH auth.json)" != 0 ]; then
log "7.下面开始青龙内部配置" log "7.下面开始青龙内部配置"
docker exec -it $CONTAINER_NAME bash -c "$(curl -fsSL https://gitee.com/allin1code/a1/raw/master/1customCDN.sh)" docker exec -it $CONTAINER_NAME bash -c "$(curl -fsSL https://gitee.com/allin1code/a1/raw/master/1customCDN.sh)"
fi fi