From 7cb86bfb9832b0710ddfaa4e7b19672e2f560ecd Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 4 Jan 2019 00:22:55 +0100 Subject: [PATCH] Update source --- scripts/install | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/install b/scripts/install index bc3b13e..94143e8 100755 --- a/scripts/install +++ b/scripts/install @@ -160,6 +160,7 @@ chown -R $app: $final_path # App settings ( cd $final_path && sudo -u "$app" curl -sSf -L https://static.rust-lang.org/rustup.sh | sh -s -- -y --default-toolchain=nightly ) ( sudo -u "$app" source $HOME/.cargo/env ) +( sudo -u "$app" source /root/.cargo/env ) ( sudo -u "$app" export PATH="$PATH:/var/www/$app/.cargo/bin:/var/$app/.local/bin:/usr/local/sbin" ) ( sudo -u "$app" export FEATURES=postgres ) ( cd $final_path/$app && sudo -u "$app" cargo install diesel_cli --no-default-features --features postgres --version '=1.3.0' )