16 lines
396 B
Bash
Executable File
16 lines
396 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
|
source "$(dirname "$0")/config"
|
|
|
|
case "$DOKKU_DISTRO" in
|
|
ubuntu)
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
apt-get update
|
|
apt-get install -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" --force-yes -qq -y postgresql-client
|
|
;;
|
|
|
|
opensuse)
|
|
zypper -q in -y postgresql-client
|
|
;;
|
|
esac
|