projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
docs: add -- global flag
[webi-installers/.git]
/
ripgrep
/
install.sh
diff --git
a/ripgrep/install.sh
b/ripgrep/install.sh
index 1805ebb2617382fc35881e0e0f09b6c921010067..9740211545151495faf2dc66393cfbb0c2d2365c 100644
(file)
--- 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)
# 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)"
# 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