From f796e83fe39800be39a5e58afaa2a7b29ab39bab Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 5 Jan 2019 02:47:17 +0100 Subject: [PATCH] trying to launch Cargo --- scripts/install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index f330e3c..04d26b7 100755 --- a/scripts/install +++ b/scripts/install @@ -162,10 +162,10 @@ chown -R $app: $final_path PATH="$PATH:/var/www/$app/.cargo/bin" export PATH="$PATH:/var/www/$app/.cargo/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" -s cargo install diesel_cli --no-default-features --features postgres --version '=1.3.0' ) ( 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 ) +( cd $final_path/$app && sudo -u "$app" -s cargo install --no-default-features --features postgres ) +( cd $final_path/$app && sudo -u "$app" -s cargo install --no-default-features --features postgres --path plume-cli ) # Add new instance if [ $registration -eq 1 ]