From 3320bf113f0f61e85e65c510c1d41bf210d4a4a6 Mon Sep 17 00:00:00 2001 From: Tommaso Sartor Date: Tue, 24 Sep 2024 10:05:31 +0200 Subject: [PATCH] Improve pacman install prerequisites Avoid reinstalling already up to date packages --- scripts/install_prerequisites.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install_prerequisites.sh b/scripts/install_prerequisites.sh index 1fa9fcc40..07c336c73 100755 --- a/scripts/install_prerequisites.sh +++ b/scripts/install_prerequisites.sh @@ -139,7 +139,7 @@ elif [[ "$MANAGER" == "dnf" ]]; then elif [[ "$MANAGER" == "pacman" ]]; then SUDO="sudo" PKGS_UPDATE="" # databases and packages are updated in -Syu install options - PKGS_OPTIONS+=(-Syu) + PKGS_OPTIONS+=(-Syu --needed) PKGS_REQUIRED+=(mesa wayland libxkbcommon wayland-protocols libc++ glew eigen cmake gcc ninja) PKGS_RECOMMENDED+=(libjpeg-turbo libpng ffmpeg) PKGS_ALL+=(libdc1394 libraw1394 openni python3)