Skip to content

Commit 7973b63

Browse files
committed
修改
1 parent c077bf8 commit 7973b63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Termux/install-NH

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ function update_sources_list() {
488488
# 替换为清华镜像源
489489
sed -i "s@http://http.kali.org/kali@https://mirrors.tuna.tsinghua.edu.cn/kali@g" "$sources_list"
490490
if [ "$wimg" = "nano" ] || [ "$wimg" = "minimal" ]; then
491-
nh sudo apt update && nh sudo apt install -y tightvncserver kali-desktop-xfce
491+
nh -r apt update && nh -r apt install -y tightvncserver kali-desktop-xfce
492492
fi
493493

494494
log "SUCCESS" "Kali 软件源已更新为清华镜像"

0 commit comments

Comments
 (0)