don't reinstall existing packages on arch

This commit is contained in:
Jabster28 2022-04-11 22:46:14 +01:00 committed by GitHub
parent 27f8fa6fe0
commit 89bcea56ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1535,7 +1535,7 @@ pkg_install() {
;;
arch)
# shellcheck disable=SC2068
pacman --noprogressbar -Sy --noconfirm $@
pacman --noprogressbar -Sy --noconfirm --needed $@
;;
fedora)
# shellcheck disable=SC2068