diff --git a/scripts/_common.sh b/scripts/_common.sh index c3934ab..775d63a 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -41,7 +41,7 @@ init_composer() { # update dependencies to create composer.lock - exec_composer "$AS_USER" "$WORKDIR" install --no-dev \ + exec_composer "$AS_USER" "$WORKDIR" install --no-dev --prefer-source \ || ynh_die "Unable to update core dependencies with Composer" } diff --git a/scripts/install b/scripts/install index b94e553..99d56a8 100755 --- a/scripts/install +++ b/scripts/install @@ -161,7 +161,7 @@ ynh_script_progression --message="Configuring php-fpm..." --time --weight=1 # Create a dedicated php-fpm config ynh_add_fpm_config -init_composer "$final_path" +init_composer "$app" "$final_path" #=================================================