X-Git-Url: https://git.immae.eu/?p=github%2Fwallabag%2Fwallabag.git;a=blobdiff_plain;f=scripts%2Fupdate.sh;h=6259a43105acc09e5269868aca9251ec3b2a2f1d;hp=c62d104a3353a2e1443cc31a33d4d3270f74e2cc;hb=3b68f6ca727f52f9dc84fa1a134c092b44c49103;hpb=3f7a28de8473db53b3de9e19d5e8e58b4e21090d diff --git a/scripts/update.sh b/scripts/update.sh index c62d104a..6259a431 100755 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -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