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

Fixes gzip and n package installation

This commit is contained in:
Selamanse 2017-07-18 14:47:01 +02:00
parent e3cb6d8564
commit f7aefb2b2f

View file

@ -43,9 +43,10 @@ ynh_app_setting_set $app is_public $is_public
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo "deb http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.0 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list
sudo apt-get update
sudo apt-get install -y mongodb-org gunzip curl graphicsmagick npm n
sudo apt-get install -y mongodb-org gzip curl graphicsmagick npm
# Meteor needs at least this version of node to work.
sudo npm install -g n
sudo n $NODE_VERSION
sed -i "s@ALIASTOCHANGE@$final_path/@g" ../conf/nginx.conf*