Skip to content

Commit e5f53b3

Browse files
committed
Include the psql client in the dependencies of Postgres/Umbra
1 parent bdf0ccf commit e5f53b3

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

postgres/scripts/install-dependencies.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ set -o pipefail
66
cd "$( cd "$( dirname "${BASH_SOURCE[0]:-${(%):-%x}}" )" >/dev/null 2>&1 && pwd )"
77

88
if [[ ! -z $(which yum) ]]; then
9-
sudo yum install -y postgresql-devel
9+
sudo yum install -y postgresql-devel postgresql
1010
elif [[ ! -z $(which apt-get) ]]; then
1111
sudo apt-get update
12-
sudo apt-get install -y libpq5
12+
sudo apt-get install -y libpq5 postgresql-client
1313
else
1414
echo "Operating system not supported, please install the dependencies manually"
1515
fi

umbra/scripts/install-dependencies.sh

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,4 @@ set -o pipefail
55

66
cd "$( cd "$( dirname "${BASH_SOURCE[0]:-${(%):-%x}}" )" >/dev/null 2>&1 && pwd )"
77

8-
if [[ ! -z $(which yum) ]]; then
9-
sudo yum install -y postgresql-devel postgresql
10-
elif [[ ! -z $(which apt-get) ]]; then
11-
sudo apt-get update
12-
sudo apt-get install -y libpq5 postgresql-client
13-
else
14-
echo "Operating system not supported, please install the dependencies manually"
15-
fi
16-
17-
pip3 install --user --progress-bar off psycopg
8+
../../postgres/scripts/install-dependencies.sh

0 commit comments

Comments
 (0)