Skip to content

Commit 8ea5eb7

Browse files
committed
修改
1 parent 7973b63 commit 8ea5eb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Termux/install-NH

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,11 +487,11 @@ function update_sources_list() {
487487

488488
# 替换为清华镜像源
489489
sed -i "s@http://http.kali.org/kali@https://mirrors.tuna.tsinghua.edu.cn/kali@g" "$sources_list"
490+
log "SUCCESS" "Kali 软件源已更新为清华镜像"
490491
if [ "$wimg" = "nano" ] || [ "$wimg" = "minimal" ]; then
492+
log "INFO" "当前非完整版,正在安装kex服务"
491493
nh -r apt update && nh -r apt install -y tightvncserver kali-desktop-xfce
492494
fi
493-
494-
log "SUCCESS" "Kali 软件源已更新为清华镜像"
495495
else
496496
log "WARN" "未找到 Kali sources.list 文件"
497497
fi

0 commit comments

Comments
 (0)