mirror of
https://github.com/bin456789/reinstall.git
synced 2025-01-18 20:39:14 +08:00
pacman 添加 --noconfirm
This commit is contained in:
parent
33264f8cad
commit
b909bcc9ae
@ -172,7 +172,7 @@ install_pkg() {
|
||||
dnf install -y $pkgs ||
|
||||
yum install -y $pkgs ||
|
||||
zypper install -y $pkgs ||
|
||||
pacman -Syu $pkgs ||
|
||||
pacman -Syu --noconfirm $pkgs ||
|
||||
apk add $pkgs
|
||||
} 2>/dev/null
|
||||
break
|
||||
|
Loading…
x
Reference in New Issue
Block a user