X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=ripgrep%2Finstall.sh;h=9740211545151495faf2dc66393cfbb0c2d2365c;hb=b1d3b44f966332434d8ec49b2a0df569e9bf8c16;hp=1805ebb2617382fc35881e0e0f09b6c921010067;hpb=5e0debf4c54c1e55476c1bc533c26db2b54d2f77;p=webi-installers%2F.git diff --git a/ripgrep/install.sh b/ripgrep/install.sh index 1805ebb..9740211 100644 --- a/ripgrep/install.sh +++ b/ripgrep/install.sh @@ -1,3 +1,4 @@ +#!/bin/bash # title: Ripgrep (alias) # homepage: https://webinstall.dev/rg # tagline: `ripgrep` (project) is an alias for `rg` (command) @@ -6,4 +7,5 @@ # See https://webinstall.dev/rg echo "'ripgrep@${WEBI_TAG:-}' (project) is an alias for 'rg@${WEBI_VERSION:-}' (command)" -curl -fsSL https://webinstall.dev/rg@${WEBI_VERSION:-} | bash +WEBI_HOST=${WEBI_HOST:-"https://webinstall.dev"} +curl -fsSL "$WEBI_HOST/rg@${WEBI_VERSION:-}" | bash