X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=rust%2Finstall.sh;h=6f2f87ec6a0f453738926bb4b098cf47fcfd58bb;hb=982d43bc534c124537d5dd86cf63102e2e847f47;hp=ae4a4ac208da3ddb6bb558592e0b62e858e1ef1a;hpb=5e0debf4c54c1e55476c1bc533c26db2b54d2f77;p=webi-installers%2F.git diff --git a/rust/install.sh b/rust/install.sh index ae4a4ac..6f2f87e 100644 --- a/rust/install.sh +++ b/rust/install.sh @@ -6,4 +6,5 @@ # See https://webinstall.dev/rustlang echo "'rust' is an alias for 'rustlang'" -curl -fsSL https://webinstall.dev/rustlang@${WEBI_VERSION:-} | bash +WEBI_HOST=${WEBI_HOST:-"https://webinstall.dev"} +curl -fsSL "$WEBI_HOST/rustlang@${WEBI_VERSION:-}" | bash