From 46f4536416166959049d1f6c010b0755c906d956 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Mon, 17 Jun 2024 22:39:41 +0200 Subject: [PATCH] dry run composer install --- scripts/install | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 5be8ea7..4366c54 100644 --- a/scripts/install +++ b/scripts/install @@ -40,8 +40,11 @@ fi #================================================= ynh_script_progression --message="Installing dependencies for LDAP..." --weight=1 -ynh_install_composer +# Some trick to actually not run composer install… +ynh_install_composer --install_args="--dry-run" ynh_composer_exec --workdir="$install_dir/sources" --commands="require symfony/ldap" +SYMFONY_ENV=prod ynh_composer_exec --commands="install --no-dev $install_args" \ + chown -R "$app:www-data" "$install_dir" #=================================================