We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3daedd0 commit 1416b02Copy full SHA for 1416b02
Termux/install-NC
@@ -59,13 +59,15 @@ for cmd in screen proot-distro; do
59
command_exists "$cmd" || pkg install -y "$cmd"
60
done
61
62
+mv "$PREFIX/etc/apt/sources.list.bak" "$PREFIX/etc/apt/sources.list"
63
+
64
if [ ! -d "$PREFIX/var/lib/proot-distro/installed-rootfs/nc/" ]; then
65
log "INFO" "安装debian容器..."
66
export PD_OVERRIDE_TARBALL_URL="https://gh-proxy.com/https://raw.githubusercontent.com/Dong-Jing-Yu/Dong-Jing-Yu.github.io/refs/heads/main/Termux/proot-distro/debian-bookworm-aarch64-pd-v4.17.3.tar.xz"
67
proot-distro install debian --override-alias nc
68
log "INFO" "安装完成!"
69
fi
-# mv "$PREFIX/etc/apt/sources.list.bak" "$PREFIX/etc/apt/sources.list"
70
71
72
73
init_cmd="apt update -y && \
0 commit comments