1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rocketchat_ynh.git synced 2024-09-03 20:16:25 +02:00

Add switch for npm installation

This commit is contained in:
Selamanse 2018-10-03 21:44:14 +02:00
parent ca20609394
commit fea24621ce

View file

@ -33,7 +33,11 @@ waitforservice() {
installnode(){
if [ $DEBIAN_ISSUE == "stretch"]; then
sudo apt-get install -y nodejs
else
sudo apt-get install -y npm
fi
# Meteor needs at least this version of node to work.
sudo npm install -g n
sudo n $NODE_VERSION