From 9d22f444b43d964a928ce12d7d5921c109e34670 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rn=20=C3=85ne?= Date: Sun, 22 Oct 2017 17:44:15 +0200 Subject: [PATCH] No need for composer from package manager --- dev.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev.sh b/dev.sh index d60bd8c..77e9e95 100755 --- a/dev.sh +++ b/dev.sh @@ -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