From c2c07158e2a99e7a3c188727ccd51692f139d432 Mon Sep 17 00:00:00 2001 From: asynts Date: Tue, 14 Jan 2020 11:25:55 +0100 Subject: [PATCH] Don't reinstall dependencies if they are already installed. Arch Linux's `pacman -S` reinstalls packages that are already installed, unless the option `--needed` is provided. A user that wants to build godot probably doesn't want to reinstall their GCC compiler and all the other stuff listed in the command. --- development/compiling/compiling_for_x11.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/development/compiling/compiling_for_x11.rst b/development/compiling/compiling_for_x11.rst index d9ab839c8..f5dae6a3b 100644 --- a/development/compiling/compiling_for_x11.rst +++ b/development/compiling/compiling_for_x11.rst @@ -35,8 +35,8 @@ Distro-specific one-liners +------------------+-----------------------------------------------------------------------------------------------------------+ | **Arch Linux** | :: | | | | -| | pacman -S scons pkgconf gcc libxcursor libxinerama libxi libxrandr mesa glu libglvnd alsa-lib \ | -| | pulseaudio yasm | +| | pacman -S --needed scons pkgconf gcc libxcursor libxinerama libxi libxrandr mesa glu libglvnd \ | +| | alsa-lib pulseaudio yasm | +------------------+-----------------------------------------------------------------------------------------------------------+ | **Debian** / | :: | | **Ubuntu** | |