Merge pull request #1084 from Jabster28/patch-1

don't reinstall existing packages on arch
This commit is contained in:
Markus Heiser 2022-04-12 12:08:51 +02:00 committed by GitHub
commit c75d4ceb1b
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