From d5d083c34644cc04e03e964c74ea41299ddc21b6 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 3 Jan 2019 22:42:23 +0100 Subject: [PATCH] Update rustup sh options --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index e34df37..10ef43e 100755 --- a/scripts/install +++ b/scripts/install @@ -158,7 +158,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 -- --channel=nightly --date=2018-07-17 ) +( cd $final_path && sudo -u "$app" curl -sSf -L https://static.rust-lang.org/rustup.sh | sh -s -- --default-toolchain=nightly --date=2018-07-17 ) 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' )