From ed22681299cb26b5bae559adabb50c0468be0ad5 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 5 Jan 2019 01:21:01 +0100 Subject: [PATCH] Update Cargo and Rustup install --- scripts/install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index e8b4d75..d0f521f 100755 --- a/scripts/install +++ b/scripts/install @@ -158,6 +158,8 @@ chown -R $app: $final_path # App settings +CARGO_HOME=$final_path +RUSTUP_HOME=$final_path ( cd $final_path && sudo -u "$app" curl -sSf -L https://static.rust-lang.org/rustup.sh | sh -s -- -y --default-toolchain=nightly ) export PATH="$PATH:/var/www/$app/.cargo/bin:/var/$app/.local/bin:/usr/local/sbin:/root/.cargo/env:$HOME/.cargo/bin" export FEATURES=postgres