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