use WEBI_HOST rather than webinstall.dev

This commit is contained in:
AJ ONeal
2020-06-30 18:13:22 +00:00
parent ea77982c0a
commit 6cb859eeff
6 changed files with 12 additions and 7 deletions
+2 -1
View File
@@ -6,4 +6,5 @@
# See https://webinstall.dev/postgres
echo "'postgresql' is an alias for 'postgres'"
curl -fsSL https://webinstall.dev/postgres@${WEBI_VERSION:-} | bash
WEBI_HOST=${WEBI_HOST:-"https://webinstall.dev"}
curl -fsSL "$WEBI_HOST/postgres@${WEBI_VERSION:-}" | bash