No need for composer from package manager

This commit is contained in:
Yorin Anne De Jong 2017-10-22 17:44:15 +02:00
parent 731663e4c0
commit 9d22f444b4
1 changed files with 3 additions and 1 deletions

4
dev.sh
View File

@ -3,8 +3,10 @@
which sqlite3 > /dev/null 2>&1 && test \! -e pvv.sqlite && sqlite3 pvv.sqlite < dist/pvv.sql
test \! -e sql_config.php && cp dist/sql_config_example.php sql_config.php
test -e composer.phar || curl -O https://getcomposer.org/composer.phar
if test \! -d vendor; then
composer install
php composer.phar install
cp -v dist/authsources_example.php vendor/simplesamlphp/simplesamlphp/config/authsources.php
cp -v dist/saml20-idp-remote.php vendor/simplesamlphp/simplesamlphp/metadata/saml20-idp-remote.php
# cp -v vendor/simplesamlphp/simplesamlphp/config-templates/config.php vendor/simplesamlphp/simplesamlphp/config/config.php