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 #=================================================