]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - scripts/install.sh
Add ldap
[github/wallabag/wallabag.git] / scripts / install.sh
index 8b7ea03f5fe77030abafbde6d852e5d425da0384..3a4a33abeb4f03c9f9aa0926470e4bd231bae084 100755 (executable)
@@ -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