diff --git a/scripts/_common.sh b/scripts/_common.sh index 24190f7..0dfab9b 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -88,7 +88,7 @@ init_composer() { cp "${DESTDIR}/composer.json-dist" "${DESTDIR}/composer.json" # update dependencies to create composer.lock - exec_composer "$AS_USER" "$DESTDIR" install --no-dev \ + exec_composer "$AS_USER" "$DESTDIR" install --no-dev --prefer-dist \ || ynh_die "Unable to update Roundcube core dependencies" }