From 279feedd74744ac2ba5c8d18921ba3be9b853bd2 Mon Sep 17 00:00:00 2001 From: nemsia Date: Mon, 10 Apr 2017 10:44:24 +0200 Subject: [PATCH] Sudo on nodejs install --- scripts/install | 4 ++-- 1 file 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