File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ if ! grep -q "mirrors.tuna.tsinghua.edu.cn" "$PREFIX/etc/apt/sources.list"; then
53
53
log " INFO" " 更新软件源到清华镜像..."
54
54
cp " $PREFIX /etc/apt/sources.list" " $PREFIX /etc/apt/sources.list.bak"
55
55
sed -i ' s@^\(deb.*stable main\)$@#\1\ndeb https://mirrors.tuna.tsinghua.edu.cn/termux/termux-packages-24 stable main@' " $PREFIX /etc/apt/sources.list"
56
-
57
56
fi
58
57
59
58
for cmd in screen proot-distro; do
@@ -66,7 +65,7 @@ if [ ! -d "$PREFIX/var/lib/proot-distro/installed-rootfs/nc/" ]; then
66
65
proot-distro install debian --override-alias nc
67
66
log " INFO" " 安装完成!"
68
67
fi
69
- mv " $PREFIX /etc/apt/sources.list.bak" " $PREFIX /etc/apt/sources.list"
68
+ # mv "$PREFIX/etc/apt/sources.list.bak" "$PREFIX/etc/apt/sources.list"
70
69
71
70
72
71
init_cmd=" apt update -y && \
You can’t perform that action at this time.
0 commit comments