X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=go%2Finstall.sh;h=c096eeaf21e3723591b41baee3b60135c09471a1;hb=7e3baa5116ef955bb6282e3410f429f1f888cbaa;hp=a88c0e7f4f2cf84b872479e0647ec9069e6ea79b;hpb=5e0debf4c54c1e55476c1bc533c26db2b54d2f77;p=webi-installers%2F.git diff --git a/go/install.sh b/go/install.sh index a88c0e7..c096eea 100644 --- a/go/install.sh +++ b/go/install.sh @@ -1,3 +1,4 @@ +#!/bin/bash # title: Go (golang alias) # homepage: https://webinstall.dev/golang # tagline: Alias for https://webinstall.dev/golang @@ -5,5 +6,6 @@ # description: | # See https://webinstall.dev/golang -echo "'go@${WEBI_TAG:-}' is an alias for 'golang@${WEBI_VERSION:-}'" -curl -fsSL https://webinstall.dev/golang@${WEBI_VERSION:-} | bash +echo "'go@${WEBI_TAG:-stable}' is an alias for 'golang@${WEBI_VERSION:-}'" +WEBI_HOST=${WEBI_HOST:-"https://webinstall.dev"} +curl -fsSL "$WEBI_HOST/golang@${WEBI_VERSION:-}" | bash