From a1bd6c2a576111d78c67fba6fd0aa16e1d68fc63 Mon Sep 17 00:00:00 2001
From: morganamilo <morganamilo@gmail.com>
Date: Thu, 11 Jan 2018 06:32:56 +0000
Subject: [PATCH] Add --needed to pacman install

Only install if the user doesnt already have the packages installed, no
point in reinstalling everything.
---
 doc/compile_Linux.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/compile_Linux.md b/doc/compile_Linux.md
index b7104ac..e314dd5 100644
--- a/doc/compile_Linux.md
+++ b/doc/compile_Linux.md
@@ -25,7 +25,7 @@
     make install
 
     # Arch
-    sudo pacman -S base-devel hwloc openssl cmake libmicrohttpd
+    sudo pacman -S --needed base-devel hwloc openssl cmake libmicrohttpd
     git clone https://github.com/fireice-uk/xmr-stak.git
     mkdir xmr-stak/build
     cd xmr-stak/build
-- 
GitLab