aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-06-16 11:40:00 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-01-23 19:57:28 +0100
commit3b68f6ca727f52f9dc84fa1a134c092b44c49103 (patch)
tree2dd38ff1453ad3a0a4620a408cdb67a482ae2fc6 /scripts
parent3f7a28de8473db53b3de9e19d5e8e58b4e21090d (diff)
downloadwallabag-3b68f6ca727f52f9dc84fa1a134c092b44c49103.tar.gz
wallabag-3b68f6ca727f52f9dc84fa1a134c092b44c49103.tar.zst
wallabag-3b68f6ca727f52f9dc84fa1a134c092b44c49103.zip
Add ldap
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install.sh3
-rwxr-xr-xscripts/update.sh3
2 files changed, 6 insertions, 0 deletions
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
26TAG=$(git describe --tags $(git rev-list --tags --max-count=1)) 26TAG=$(git describe --tags $(git rev-list --tags --max-count=1))
27 27
28git checkout $TAG 28git checkout $TAG
29if [ -n "$LDAP_ENABLED" ]; then
30 SYMFONY_ENV=$ENV $COMPOSER_COMMAND require --no-update fr3d/ldap-bundle
31fi
29SYMFONY_ENV=$ENV $COMPOSER_COMMAND install --no-dev -o --prefer-dist 32SYMFONY_ENV=$ENV $COMPOSER_COMMAND install --no-dev -o --prefer-dist
30php bin/console wallabag:install --env=$ENV 33php bin/console wallabag:install --env=$ENV
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
32git fetch --tags 32git fetch --tags
33TAG=$(git describe --tags $(git rev-list --tags --max-count=1)) 33TAG=$(git describe --tags $(git rev-list --tags --max-count=1))
34git checkout $TAG --force 34git checkout $TAG --force
35if [ -n "$LDAP_ENABLED" ]; then
36 SYMFONY_ENV=$ENV $COMPOSER_COMMAND require --no-update fr3d/ldap-bundle
37fi
35SYMFONY_ENV=$ENV $COMPOSER_COMMAND install --no-dev -o --prefer-dist 38SYMFONY_ENV=$ENV $COMPOSER_COMMAND install --no-dev -o --prefer-dist
36php bin/console doctrine:migrations:migrate --no-interaction --env=$ENV 39php bin/console doctrine:migrations:migrate --no-interaction --env=$ENV
37php bin/console cache:clear --env=$ENV 40php bin/console cache:clear --env=$ENV