mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-02-14 17:49:53 +00:00
13 lines
245 B
Bash
13 lines
245 B
Bash
#!/bin/sh
|
|
set -e
|
|
set -u
|
|
|
|
__redirect_alias_psql() {
|
|
echo "'postgresql-client' is an alias for 'psql'"
|
|
sleep 2.5
|
|
WEBI_HOST=${WEBI_HOST:-"https://webi.sh"}
|
|
curl -fsSL "$WEBI_HOST/psql@${WEBI_VERSION-}" | sh
|
|
}
|
|
|
|
__redirect_alias_psql
|