X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=go%2Finstall.sh;fp=go%2Finstall.sh;h=613fde2edcfef5c8a5a260facf1838c39e6dd961;hb=6cb859eeffe708cf75bec7333a8a23be00b7a9e9;hp=f03c2cd3957089fc372f9472d6fa4dab53ba853f;hpb=ea77982c0a6510744d164b73cebed43e42f77fac;p=webi-installers%2F.git diff --git a/go/install.sh b/go/install.sh index f03c2cd..613fde2 100644 --- a/go/install.sh +++ b/go/install.sh @@ -6,4 +6,5 @@ # See https://webinstall.dev/golang echo "'go@${WEBI_TAG:-stable}' is an alias for 'golang@${WEBI_VERSION:-}'" -curl -fsSL https://webinstall.dev/golang@${WEBI_VERSION:-} | bash +WEBI_HOST=${WEBI_HOST:-"https://webinstall.dev"} +curl -fsSL "$WEBI_HOST/golang@${WEBI_VERSION:-}" | bash