From 948fa5df974f4dd26abf4930de71cce998fee9f3 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 3 Jan 2021 13:13:28 +0100 Subject: [PATCH] Remove -- deployment that make upgrade to fail --- scripts/upgrade | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 5fa528b..13824eb 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -266,9 +266,10 @@ ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_fil if [ "$upgrade_type" == "UPGRADE_APP" ] then ynh_script_progression --message="Upgrading $app with Carton..." --weight=4 - (cd $final_path - ynh_secure_remove --file="$final_path/local" - carton install --deployment --without=mysql --without=htpasswd --without=test) + pushd "$final_path" + ynh_secure_remove --file="$final_path/local" + carton install --without=mysql --without=htpasswd --without=test + popd fi #=================================================