From 4852a36f9f7f2e8abaf4221a9cee7ab13ebc2329 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 13 Jun 2020 16:05:47 -0600 Subject: [PATCH] forward specified version to alias installer --- go/install.bash | 3 ++- rust/install.bash | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/go/install.bash b/go/install.bash index f9366bf..adff446 100644 --- a/go/install.bash +++ b/go/install.bash @@ -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 diff --git a/rust/install.bash b/rust/install.bash index ad83dbc..ae4a4ac 100644 --- a/rust/install.bash +++ b/rust/install.bash @@ -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 -- 2.25.1