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