aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/install4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/install b/scripts/install
index 8e086a7..95be1b2 100644
--- a/scripts/install
+++ b/scripts/install
@@ -62,7 +62,7 @@ ynh_app_setting_set $app final_path $final_path
# Install de Node.js
pushd /opt
-curl -sL https://deb.nodesource.com/setup_4.x | bash -
+curl -sL https://deb.nodesource.com/setup_4.x | sudo bash -
sudo apt-get -y install nodejs
npm install -g yarn
@@ -182,4 +182,4 @@ sudo systemctl reload nginx || true
sudo systemctl status nginx
# Nettoyer hosts
-sudo sed -i '/#MASTODON/d' /etc/hosts \ No newline at end of file
+sudo sed -i '/#MASTODON/d' /etc/hosts