mirror of
https://github.com/YunoHost-Apps/mastodon_ynh.git
synced 2024-09-03 19:46:02 +02:00
Sudo on nodejs install
This commit is contained in:
parent
d04d692b8a
commit
279feedd74
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue