summaryrefslogtreecommitdiff
path: root/doc/install
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2017-04-07 10:46:36 +0200
committerJacob Vosmaer <jacob@gitlab.com>2017-05-23 15:38:18 +0200
commit69e68986df286d67a7a8606c9547355ac614e88f (patch)
tree9dfcf3cca5be938480245e84eb5cd8684946c177 /doc/install
parent48422b415d16927d0382dd401145807a50a00772 (diff)
downloadgitlab-ce-69e68986df286d67a7a8606c9547355ac614e88f.tar.gz
Use 'sudo bash' when adding nodesource repository
In accordance with https://github.com/nodesource/distributions#debinstall
Diffstat (limited to 'doc/install')
-rw-r--r--doc/install/installation.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md
index 5bba405f159..c87a485b6af 100644
--- a/doc/install/installation.md
+++ b/doc/install/installation.md
@@ -166,7 +166,7 @@ In many distros the versions provided by the official package repositories
are out of date, so we'll need to install through the following commands:
# install node v7.x
- curl --location https://deb.nodesource.com/setup_7.x | bash -
+ curl --location https://deb.nodesource.com/setup_7.x | sudo bash -
sudo apt-get install -y nodejs
# install yarn