Installation script

This commit is contained in:
Simon Vieille 2016-09-27 22:57:42 +02:00
parent b31757b944
commit de79941a9d
2 changed files with 6 additions and 2 deletions

View file

@ -49,8 +49,10 @@ git config --global user.email "www-data@$domain"
git config --global user.email "www-data@$domain"
cd $src_path
sudo curl -sS https://getcomposer.org/installer | sudo php
sudo wget https://getcomposer.org/installer
sudo php installer
sudo mv composer.phar composer
sudo rm installer
sudo chmod +x composer
sudo apt-get update -y

View file

@ -30,8 +30,10 @@ git config --global user.email "www-data@$domain"
git config --global user.email "www-data@$domain"
cd $src_path
sudo curl -sS https://getcomposer.org/installer | sudo php
sudo wget https://getcomposer.org/installer
sudo php installer
sudo mv composer.phar composer
sudo rm installer
sudo chmod +x composer
sudo apt-get update -y