diff options
Diffstat (limited to 'bin/postgres')
| -rwxr-xr-x | bin/postgres | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/postgres b/bin/postgres index 66c0ab0..7e1bb7c 100755 --- a/bin/postgres +++ b/bin/postgres @@ -1,5 +1,10 @@ #!/bin/sh +set -e +[ -n "$DEBUG" ] && set -x + +cd "$(dirname "$0")/.." + if ! command -v postgres >/dev/null 2>&1; then echo "Install postgres via mise: mise install postgres" exit 1 |
