修复 dnf makecache 命令语法错误

This commit is contained in:
2026-04-02 16:47:29 +08:00
parent 64b191d71a
commit 396ac72b24

View File

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