diff options
author | Tony Hansen <tony@att.com> | 2017-05-15 03:08:24 +0000 |
---|---|---|
committer | Tony Hansen <tony@att.com> | 2017-05-15 03:08:46 +0000 |
commit | 844a29c7570aa10775b34fe28dcc022de65fed4c (patch) | |
tree | 9cb0a2b41864ac2df388da93d7e7d07d9606cd2b /postgresql-config/src/stage/opt/app/postgresql-config/lib/profile.additions | |
parent | 48feaffcb16e1fd5eb3ce453b99797de1bd15d7a (diff) |
[DCAE-20] fix problem with config change
Change-Id: Icc27ab79997b2aed85a061fc7f4680367896d4b4
Signed-off-by: Tony Hansen <tony@att.com>
Diffstat (limited to 'postgresql-config/src/stage/opt/app/postgresql-config/lib/profile.additions')
-rw-r--r-- | postgresql-config/src/stage/opt/app/postgresql-config/lib/profile.additions | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/postgresql-config/src/stage/opt/app/postgresql-config/lib/profile.additions b/postgresql-config/src/stage/opt/app/postgresql-config/lib/profile.additions index 3ee8128..9616494 100644 --- a/postgresql-config/src/stage/opt/app/postgresql-config/lib/profile.additions +++ b/postgresql-config/src/stage/opt/app/postgresql-config/lib/profile.additions @@ -1,6 +1,10 @@ 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 fi export PATH="$PGDIR/bin:/opt/app/cdf/bin:/opt/app/pgaas/bin:/opt/app/postgresql-prep/bin:$PATH" |