Browse Source

Merge pull request #1084 from Jabster28/patch-1

don't reinstall existing packages on arch
Markus Heiser 3 years ago
parent
commit
c75d4ceb1b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      utils/lib.sh

+ 1 - 1
utils/lib.sh

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