From 89bcea56ec07798720a3f9319ffc953ea7201f9b Mon Sep 17 00:00:00 2001 From: Jabster28 <29015942+Jabster28@users.noreply.github.com> Date: Mon, 11 Apr 2022 22:46:14 +0100 Subject: [PATCH] don't reinstall existing packages on arch --- utils/lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/lib.sh b/utils/lib.sh index 4472b9d32..257c15024 100755 --- a/utils/lib.sh +++ b/utils/lib.sh @@ -1535,7 +1535,7 @@ pkg_install() { ;; arch) # shellcheck disable=SC2068 - pacman --noprogressbar -Sy --noconfirm $@ + pacman --noprogressbar -Sy --noconfirm --needed $@ ;; fedora) # shellcheck disable=SC2068