forward specified version to alias installer
authorAJ ONeal <coolaj86@gmail.com>
Sat, 13 Jun 2020 22:05:47 +0000 (16:05 -0600)
committerAJ ONeal <coolaj86@gmail.com>
Sat, 13 Jun 2020 22:05:47 +0000 (16:05 -0600)
go/install.bash
rust/install.bash

index f9366bf63dc6423e8bba1b1c73e511dea2314aa3..adff446374a829dafa0bfe27787d3521ea8bc689 100644 (file)
@@ -5,4 +5,5 @@
 # description: |
 #   See https://webinstall.dev/golang
 
-curl -fsSL https://webinstall.dev/golang | bash
+echo "'go' is an alias for 'golang'"
+curl -fsSL https://webinstall.dev/golang@${WEBI_VERSION:-} | 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