From 77571d3c712d661a55364fc248c7f114e983b509 Mon Sep 17 00:00:00 2001 From: Hornwitser Date: Sat, 12 Oct 2019 16:57:48 +0200 Subject: [PATCH] Port swap curl with wget in install instructions Swap out curl with wget in the install instructions as wget is pre-installed on Ubuntu. This is a port of 72b56a0 and dbef2bd. --- CHANGELOG.md | 2 ++ README.md | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index acb0833d..6e331835 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,8 @@ Version 1.2.2 nodes. - Reordered install instructions to avoid problem with npm creating files owned by root in the home directory. +- Swapped curl out with wget in the install instructions as the latter comes + pre-installed on Ubuntu. Version 1.2.1 diff --git a/README.md b/README.md index d3f522dd..7429b797 100644 --- a/README.md +++ b/README.md @@ -99,11 +99,11 @@ NodeJS does not support EOL ubuntu releases. Make sure you are on the most recen Master and all slaves: - sudo curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - - sudo apt install -y nodejs python-dev git wget curl tar build-essential + wget -qO - https://deb.nodesource.com/setup_10.x | sudo -E bash - + sudo apt install -y nodejs python-dev git build-essential git clone -b 1.2.x https://github.com/clusterio/factorioClusterio.git cd factorioClusterio - curl -o factorio.tar.gz -L https://www.factorio.com/get-download/latest/headless/linux64 + wget -O factorio.tar.gz https://www.factorio.com/get-download/latest/headless/linux64 tar -xf factorio.tar.gz npm install --only=production cp config.json.dist config.json