Merge pull request #10 from YunoHost/fix_9

[fix] #9: 'apt-get' update before installing packages.
This commit is contained in:
opi 2016-10-09 10:54:56 +02:00 committed by GitHub
commit 06c9caf46d

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