From: AJ ONeal Date: Sat, 13 Jun 2020 22:05:47 +0000 (-0600) Subject: forward specified version to alias installer X-Git-Url: https://git.josue.xyz/?p=webi-installers%2F.git;a=commitdiff_plain;h=4852a36f9f7f2e8abaf4221a9cee7ab13ebc2329 forward specified version to alias installer --- 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