diff options
Diffstat (limited to 'pgaas/src/stage/opt/app/pgaas/bin/list_masters')
-rwxr-xr-x | pgaas/src/stage/opt/app/pgaas/bin/list_masters | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pgaas/src/stage/opt/app/pgaas/bin/list_masters b/pgaas/src/stage/opt/app/pgaas/bin/list_masters index 9e22cd1..33ed79f 100755 --- a/pgaas/src/stage/opt/app/pgaas/bin/list_masters +++ b/pgaas/src/stage/opt/app/pgaas/bin/list_masters @@ -19,7 +19,11 @@ CDF=/opt/app/cdf if [ -d /opt/app/postgresql-9.5.2 ] then PGDIR=/opt/app/postgresql-9.5.2 -else PGDIR=/usr/lib/postgresql/9.5 +elif [ -d /usr/lib/postgresql/9.6 ] +then PGDIR=/usr/lib/postgresql/9.6 +elif [ -d /usr/lib/postgresql/9.5 ] +then PGDIR=/usr/lib/postgresql/9.5 +else echo PostgreSQL bin directory not found 1>&2; exit 1 fi if [ -d /opt/app/postgresql-config-9.5.2/ ] then CFGDIR=/opt/app/postgresql-config-9.5.2/ |