From 07688751a7a001b3103780bd837e6f6021ac929e Mon Sep 17 00:00:00 2001 From: anmol Date: Sun, 11 Nov 2018 05:12:59 +0530 Subject: [PATCH] Fix upgrade script --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 91c821c..b5d3b27 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -101,8 +101,8 @@ ynh_install_app_dependencies gettext postgresql postgresql-contrib libpq-dev git export PATH="$PATH:/var/www/$app/.cargo/bin:/var/$app/.local/bin:/usr/local/sbin" export FEATURES=postgres chown -R "$app":"$app" "$final_path" -( cd $final_path/$app && sudo -u "$app" cargo install --path . --force ) -( cd $final_path/$app && sudo -u "$app" cargo install --path plume-cli --force ) +( cd $final_path/$app && sudo -u "$app" cargo install --no-default-features --features postgres --force ) +( cd $final_path/$app && sudo -u "$app" cargo install --no-default-features --features postgres --path plume-cli --force ) ( cd $final_path/$app && diesel migration run )