From b909bcc9aeeb58d4591146665d0495abb293c83c Mon Sep 17 00:00:00 2001 From: bin456789 Date: Sun, 28 May 2023 00:53:47 +0800 Subject: [PATCH] =?UTF-8?q?pacman=20=E6=B7=BB=E5=8A=A0=20--noconfirm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- reinstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reinstall.sh b/reinstall.sh index 3618389..d7dd320 100644 --- a/reinstall.sh +++ b/reinstall.sh @@ -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