From 0fac2d07bad5762eccf0809463cc705909759e74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 20 Jul 2024 19:30:53 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index 79a07a1..e089ecf 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -40,6 +40,18 @@ if [ -e "$install_dir/var/cache/prod/appProdProjectContainer.php" ]; then chmod 700 "$install_dir/var/cache/prod/appProdProjectContainer.php" fi +#================================================= +# INSTALL SYMFONY LDAP +#================================================= +ynh_script_progression --message="Installing dependencies for LDAP..." --weight=1 + +# Some trick to actually not run composer install… +ynh_install_composer --install_args="--dry-run" +ynh_composer_exec --commands="require symfony/ldap" +# SYMFONY_ENV=prod ynh_composer_exec --commands="install --no-dev" + +chown -R "$app:www-data" "$install_dir" + #================================================= # UPDATE A CONFIG FILE #=================================================