From e40aab53a832cc7d8cc9fbfc4ec84568383c0567 Mon Sep 17 00:00:00 2001 From: ewilly Date: Wed, 20 Jul 2022 21:46:04 +0200 Subject: [PATCH] Fix if debian rustc package present --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 9fb7e08..9394f02 100644 --- a/scripts/install +++ b/scripts/install @@ -124,7 +124,7 @@ pushd "$final_path" ynh_exec_warn_less ynh_exec_as "$app" RUSTUP_HOME="$final_path/.rustup" CARGO_HOME="$final_path/.cargo" bash -c 'curl -sSf -L https://static.rust-lang.org/rustup.sh | sh -s -- -y --default-toolchain stable' popd -export PATH="$PATH:$final_path/.cargo/bin:$final_path/.local/bin:/usr/local/sbin" +export PATH="$final_path/.cargo/bin:$final_path/.local/bin:/usr/local/sbin:$PATH" # Compile vaultwarden pushd "$final_path"/build diff --git a/scripts/upgrade b/scripts/upgrade index d40471b..27c1726 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -186,7 +186,7 @@ then ynh_exec_warn_less ynh_exec_as "$app" RUSTUP_HOME="$final_path/.rustup" CARGO_HOME="$final_path/.cargo" bash -c 'curl -sSf -L https://static.rust-lang.org/rustup.sh | sh -s -- -y --default-toolchain stable' popd - export PATH="$PATH:$final_path/.cargo/bin:$final_path/.local/bin:/usr/local/sbin" + export PATH="$final_path/.cargo/bin:$final_path/.local/bin:/usr/local/sbin:$PATH" # Compile vaultwarden pushd "$final_path"/build