Browse Source

Move curl installation (#380)

Curl need to be installed before the first time we use it. It's now installed before setting up nodejs repository.
Mathias B 6 years ago
parent
commit
1e98a53c85
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Running-Mastodon/Production-guide.md

+ 1 - 1
Running-Mastodon/Production-guide.md

@@ -53,6 +53,7 @@ You will need to add an external repository so we can have the version of [node.
 We run this script to add the repository:
 
 ```sh
+apt -y install curl
 curl -sL https://deb.nodesource.com/setup_6.x | bash -
 ```
 
@@ -65,7 +66,6 @@ Another repository needs to be added so we can get the version of [Yarn](https:/
 This is how you add the repository:
 
 ```sh
-apt -y install curl
 curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
 echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
 apt update