From da95e302dbbc0d26ecfdbfa11540935fb65776f3 Mon Sep 17 00:00:00 2001 From: anmol Date: Fri, 9 Nov 2018 08:10:09 +0530 Subject: [PATCH] Fixed error in install --- scripts/install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index f13e8cc..c60937d 100755 --- a/scripts/install +++ b/scripts/install @@ -161,10 +161,10 @@ chown -R $app: $final_path # App settings ( cd $final_path && sudo -u "$app" curl -sf -L https://static.rust-lang.org/rustup.sh | sh -s -- --channel=nightly --date=2018-07-17 ) -( export PATH="$PATH:/var/www/$app/.cargo/bin:/var/$app/.local/bin:/usr/local/sbin" ) -( export FEATURES=postgres ) + export PATH="$PATH:/var/www/$app/.cargo/bin:/var/$app/.local/bin:/usr/local/sbin" + export FEATURES=postgres ( cd $final_path/$app && sudo -u "$app" cargo install diesel_cli --no-default-features --features postgres --version '=1.3.0' ) -( cd $final_path/$app && sudo -u "$app" diesel migration run ) +( cd $final_path/$app && diesel migration run ) ( cd $final_path/$app && sudo -u "$app" cargo install --no-default-features --features postgres ) ( cd $final_path/$app && sudo -u "$app" cargo install --no-default-features --features postgres --path plume-cli )