use WEBI_HOST rather than webinstall.dev
[webi-installers/.git] / postgresql / install.sh
index 68b2e2b661279816aaea1fa980164f6890e3ea88..325424455fea6f108254cf3fb59ae6f15b854293 100644 (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