From 38bb39f7389c99086865230db189463e83227afa Mon Sep 17 00:00:00 2001 From: Julien Malik Date: Fri, 3 Feb 2017 23:56:39 +0100 Subject: [PATCH] [fix] ensure --prefer-dist for composer --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" }