From 47213f2289db1ea998ad31e85aa0087a0d17b430 Mon Sep 17 00:00:00 2001 From: anmol Date: Sun, 11 Nov 2018 05:03:14 +0530 Subject: [PATCH] Fix upgrade script --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index d01b850..91c821c 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -101,7 +101,7 @@ 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 --no-default-features --features postgres ) +( 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 && diesel migration run )