Add --needed to pacman install

Only install if the user doesnt already have the packages installed, no
point in reinstalling everything.
This commit is contained in:
morganamilo
2018-01-11 06:32:56 +00:00
parent 2ae7260b90
commit a1bd6c2a57
+1 -1
View File
@@ -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