Update postgresql.sh

This commit is contained in:
FusionPBX 2019-12-04 18:59:57 -07:00 committed by GitHub
parent 0f09e9b1aa
commit e0078c3d1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -53,6 +53,10 @@ fi
if [ ."$database_repo" = ."2ndquadrant" ]; then
apt install -y curl
curl https://dl.2ndquadrant.com/default/release/get/deb | bash
if [ ."$os_codename" = ."buster" ]; then
sed -i /etc/apt/sources.list.d/2ndquadrant-dl-default-release.list -e 's#buster#stretch#g'
fi
apt update
apt-get install -y sudo postgresql-bdr-9.4 postgresql-bdr-9.4-bdr-plugin postgresql-bdr-contrib-9.4
fi