forward specified version to alias installer
[webi-installers/.git] / rust / install.bash
index ad83dbcdda7f5124935d0acd361690eb30f51fe8..ae4a4ac208da3ddb6bb558592e0b62e858e1ef1a 100644 (file)
@@ -5,4 +5,5 @@
 # description: |
 #   See https://webinstall.dev/rustlang
 
-curl -fsSL https://webinstall.dev/rustlang | bash
+echo "'rust' is an alias for 'rustlang'"
+curl -fsSL https://webinstall.dev/rustlang@${WEBI_VERSION:-} | bash