summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorJabster28 <29015942+Jabster28@users.noreply.github.com>2022-04-11 22:46:14 +0100
committerGitHub <noreply@github.com>2022-04-11 22:46:14 +0100
commit89bcea56ec07798720a3f9319ffc953ea7201f9b (patch)
tree07e65a0a72a58b7d5d2f439a467cb6e3ec857105 /utils
parent27f8fa6fe066c15dfc60bc2c50533ef87663ce29 (diff)
don't reinstall existing packages on arch
Diffstat (limited to 'utils')
-rwxr-xr-xutils/lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/lib.sh b/utils/lib.sh
index 4472b9d3..257c1502 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