X-Git-Url: https://git.immae.eu/?p=github%2Fwallabag%2Fwallabag.git;a=blobdiff_plain;f=scripts%2Finstall.sh;fp=scripts%2Finstall.sh;h=3a4a33abeb4f03c9f9aa0926470e4bd231bae084;hp=8b7ea03f5fe77030abafbde6d852e5d425da0384;hb=3b68f6ca727f52f9dc84fa1a134c092b44c49103;hpb=3f7a28de8473db53b3de9e19d5e8e58b4e21090d diff --git a/scripts/install.sh b/scripts/install.sh index 8b7ea03f..3a4a33ab 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -26,5 +26,8 @@ ENV=$1 TAG=$(git describe --tags $(git rev-list --tags --max-count=1)) git checkout $TAG +if [ -n "$LDAP_ENABLED" ]; then + SYMFONY_ENV=$ENV $COMPOSER_COMMAND require --no-update fr3d/ldap-bundle +fi SYMFONY_ENV=$ENV $COMPOSER_COMMAND install --no-dev -o --prefer-dist php bin/console wallabag:install --env=$ENV