X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=postgresql%2Finstall.sh;h=7f2aecc5fbea239003c2160796d30ec5a0dda52e;hb=4edf137e5d6b65f9ac847db6694ac387c7e91f3e;hp=68b2e2b661279816aaea1fa980164f6890e3ea88;hpb=6b6a9d7a1a5824ad807d21714f1649bb9e9f2abe;p=webi-installers%2F.git diff --git a/postgresql/install.sh b/postgresql/install.sh index 68b2e2b..7f2aecc 100644 --- a/postgresql/install.sh +++ b/postgresql/install.sh @@ -1,3 +1,4 @@ +#!/bin/bash # title: PostgreSQL (Postgres alias) # homepage: https://webinstall.dev/postgres # tagline: Alias for https://webinstall.dev/postgres @@ -6,4 +7,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