From 647cc5a8a1080d3e125570d5fd008286360d16fb Mon Sep 17 00:00:00 2001 From: anmol Date: Mon, 5 Nov 2018 18:01:12 +0530 Subject: [PATCH] Force install Hex --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index c51a2b0..8034bea 100755 --- a/scripts/install +++ b/scripts/install @@ -155,7 +155,8 @@ ynh_replace_string "__DB_PWD__" "$db_pwd" "$final_path/$app/config #================================================= # SETUP #================================================= -( cd $final_path/$app && sudo -u "$app" mix deps.get --force ) +( cd $final_path/$app && sudo -u "$app" MIX_ENV=prod mix local.hex --force ) +( cd $final_path/$app && sudo -u "$app" mix deps.get ) ( cd $final_path/$app && sudo -u "$app" MIX_ENV=prod mix ecto.migrate ) #=================================================