From be08a2650cf1e549384ae27bdff0843538ea0b60 Mon Sep 17 00:00:00 2001 From: dotfrag <17456867+dotfrag@users.noreply.github.com> Date: Mon, 10 Jun 2024 22:17:31 +0300 Subject: [PATCH] fix: install.sh do not reinstall packages on arch --- scripts/install.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/install.sh b/scripts/install.sh index a3ce1dd99..9361769f7 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -75,10 +75,7 @@ echo "Installing required packages..." case "$OS_TYPE" in arch) - pacman -Sy >/dev/null || true - if ! pacman -Q curl wget git jq >/dev/null; then - pacman -S --noconfirm curl wget git jq >/dev/null || true - fi + pacman -Sy --noconfirm --needed curl wget git jq >/dev/null || true ;; ubuntu | debian | raspbian) apt update -y >/dev/null