Skip to content

Commit 9e4c8c5

Browse files
authored
Merge pull request coollabsio#2434 from dotfrag/fix/install-script-arch
fix: install.sh do not reinstall packages on arch
2 parents 8ca84ee + be08a26 commit 9e4c8c5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

scripts/install.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,7 @@ echo "Installing required packages..."
7575

7676
case "$OS_TYPE" in
7777
arch)
78-
pacman -Sy >/dev/null || true
79-
if ! pacman -Q curl wget git jq >/dev/null; then
80-
pacman -S --noconfirm curl wget git jq >/dev/null || true
81-
fi
78+
pacman -Sy --noconfirm --needed curl wget git jq >/dev/null || true
8279
;;
8380
ubuntu | debian | raspbian)
8481
apt update -y >/dev/null

0 commit comments

Comments
 (0)