mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +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
|
# 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
|
||||||
|
|
||||||
|
@ -182,4 +182,4 @@ sudo systemctl reload nginx || true
|
||||||
sudo systemctl status nginx
|
sudo systemctl status nginx
|
||||||
|
|
||||||
# Nettoyer hosts
|
# Nettoyer hosts
|
||||||
sudo sed -i '/#MASTODON/d' /etc/hosts
|
sudo sed -i '/#MASTODON/d' /etc/hosts
|
||||||
|
|
Loading…
Reference in a new issue