修复 apt update 命令参数错误

This commit is contained in:
2026-04-02 16:43:59 +08:00
parent 502f707d62
commit 64b191d71a

View File

@@ -12,7 +12,7 @@ declare -A UPDATE_COMMAND
declare -A INSTALL_COMMAND
UPDATE_COMMAND=(
[pacman]="pacman -Syu --noconfirm"
[apt]="apt update -y || true"
[apt]="apt update"
[dnf]="dnf makecache -y || true"
)
INSTALL_COMMAND=(