diff --git a/scripts/install b/scripts/install index 9d5f72c..3ea215c 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 --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -q -y' 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 4b20088..4040911 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 --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -q -y' 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