diff --git a/scripts/install b/scripts/install index 917fd1d..7153e45 100755 --- a/scripts/install +++ b/scripts/install @@ -130,7 +130,7 @@ ynh_setup_source "$final_path" # Create a system user ynh_system_user_create $app $final_path -( cd $final_path && curl https://sh.rustup.rs -sSf | sh ) +( cd $final_path && curl -sf -L https://static.rust-lang.org/rustup.sh | sh ) export PATH="$PATH:$final_path/.cargo/bin:$final_path/.local/bin:/usr/local/sbin" ( cd $final_path && cargo build ) ( cd $final_path && diesel migration run --database-url postgres://$db_name:$db_pwd@localhost:$port/plume )