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