[fix] #9: 'apt-get' update before installing packages.

This commit is contained in:
Moul 2016-10-08 18:49:13 +02:00
parent e90c0f785d
commit 8cee765fef

View file

@ -255,6 +255,7 @@ elif [ "$1" = "use-git" ]; then
which gulp > /dev/null
if [ $? -eq 1 ]
then
sudo apt-get update --fix-missing
sudo apt-get -y install nodejs-legacy npm
cd /vagrant/yunohost-admin/src
sudo npm install