From ee831fbcb694a0476ab744fe92168e281e93ff80 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Wed, 9 Dec 2020 14:21:36 +0530 Subject: [PATCH] dist: Prevent already installed packages in ArchLinux and MSYS2. Use --needed option with pacman to prevent it. --- dist/get_deps_archlinux.sh | 2 +- dist/get_deps_msys2.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/get_deps_archlinux.sh b/dist/get_deps_archlinux.sh index a2afe3961..70ec580cc 100755 --- a/dist/get_deps_archlinux.sh +++ b/dist/get_deps_archlinux.sh @@ -1,6 +1,6 @@ #!/usr/bin/env sh -pacman -S \ +pacman -S --needed \ glfw \ file \ openssl \ diff --git a/dist/get_deps_msys2.sh b/dist/get_deps_msys2.sh index 9dfe92c8c..4121b546a 100755 --- a/dist/get_deps_msys2.sh +++ b/dist/get_deps_msys2.sh @@ -1,6 +1,6 @@ #!/usr/bin/env sh -pacman -S \ +pacman -S --needed \ mingw-w64-x86_64-gcc \ mingw-w64-x86_64-cmake \ mingw-w64-x86_64-make \