File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -60,14 +60,14 @@ if [ ! -d "$PREFIX/var/lib/proot-distro/installed-rootfs/nc/" ]; then
60
60
export PD_OVERRIDE_TARBALL_URL=" https://gitee.com/Dong-Jing-Yu/Dong-Jing-Yu.gitee.io/raw/main/Termux/proot-distro/debian-bookworm-aarch64-pd-v4.17.3.tar.xz"
61
61
proot-distro install debian --override-alias nc
62
62
log " INFO" " 安装完成!"
63
- if
63
+ fi
64
64
mv " $PREFIX /etc/apt/sources.list.bak" " $PREFIX /etc/apt/sources.list"
65
65
66
66
67
- init_cmd=" apt update -y && apt upgrade -y && \
67
+ init_cmd=" apt update -y && \
68
68
apt install -y sudo curl && \
69
69
curl -O https://gitee.com/Dong-Jing-Yu/Dong-Jing-Yu.gitee.io/raw/main/Termux/napcat.sh && \
70
- sudo bash napcat.sh --docker n --cli n && \
70
+ sudo bash napcat.sh --tui && \
71
71
apt autoremove -y && \
72
72
apt clean && \
73
73
rm -rf /tmp/* /var/lib/apt/lists"
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ function network_test() {
139
139
local status=0
140
140
target_proxy=" "
141
141
142
- local current_proxy_setting=" ${proxy_num_arg:- 9 } "
142
+ local current_proxy_setting=" ${proxy_num_arg:- 10 } "
143
143
144
144
log " 开始网络测试: ${parm1} ..."
145
145
# 观察实际使用的代理设置
@@ -1290,4 +1290,4 @@ else
1290
1290
# This case should not be reached if logic above is correct
1291
1291
log " 错误: 无效的安装选项 (use_docker=${use_docker} )。"
1292
1292
exit 1
1293
- fi
1293
+ fi
You can’t perform that action at this time.
0 commit comments