]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - scripts/update.sh
Add ldap
[github/wallabag/wallabag.git] / scripts / update.sh
index c62d104a3353a2e1443cc31a33d4d3270f74e2cc..6259a43105acc09e5269868aca9251ec3b2a2f1d 100755 (executable)
@@ -32,6 +32,9 @@ git fetch origin
 git fetch --tags
 TAG=$(git describe --tags $(git rev-list --tags --max-count=1))
 git checkout $TAG --force
+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 doctrine:migrations:migrate --no-interaction --env=$ENV
 php bin/console cache:clear --env=$ENV