1
0
Fork 0
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:
nemsia 2017-04-10 10:44:24 +02:00 committed by GitHub
parent d04d692b8a
commit 279feedd74

View file

@ -62,7 +62,7 @@ ynh_app_setting_set $app final_path $final_path
# Install de Node.js # Install de Node.js
pushd /opt 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 sudo apt-get -y install nodejs
npm install -g yarn npm install -g yarn