mirror of
https://github.com/YunoHost-Apps/shuri_ynh.git
synced 2024-09-03 20:16:20 +02:00
[Fix] Composer Installation
This commit is contained in:
parent
4865dc9c0a
commit
692fecea5e
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ final_path=/var/www/$app
|
|||
sudo git clone https://github.com/pips-/shuri.git $final_path
|
||||
pushd $final_path
|
||||
sudo php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
|
||||
sudo php -r "if (hash_file('SHA384', 'composer-setup.php') === '669656bab3166a7aff8a7506b8cb2d1c292f042046c5a994c43155c0be6190fa0355160742ab2e1c88d40d5be660b410') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
|
||||
sudo php -r "if (hash_file('SHA384', 'composer-setup.php') === '544e09ee996cdf60ece3804abc52599c22b1f40f4323403c44d44fdfdd586475ca9813a858088ffbc1f233e9b180f061') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
|
||||
sudo php composer-setup.php
|
||||
sudo php -r "unlink('composer-setup.php');"
|
||||
sudo ./composer.phar install
|
||||
|
|
Loading…
Reference in a new issue