summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2022-04-12 12:08:51 +0200
committerGitHub <noreply@github.com>2022-04-12 12:08:51 +0200
commitc75d4ceb1bb32ff1f36f13b16844ef9e846747d8 (patch)
tree07e65a0a72a58b7d5d2f439a467cb6e3ec857105
parent27f8fa6fe066c15dfc60bc2c50533ef87663ce29 (diff)
parent89bcea56ec07798720a3f9319ffc953ea7201f9b (diff)
Merge pull request #1084 from Jabster28/patch-1
don't reinstall existing packages on arch
-rwxr-xr-xutils/lib.sh2
1 files changed, 1 insertions, 1 deletions
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