Quellcode durchsuchen

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.
asynts vor 5 Jahren
Ursprung
Commit
c2c07158e2
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      development/compiling/compiling_for_x11.rst

+ 2 - 2
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**       |                                                                                                           |