From 7927ff179242b796330d17869c83fa07751abf95 Mon Sep 17 00:00:00 2001 From: lj1412 Date: Tue, 14 Feb 2017 15:10:09 +0000 Subject: Init dcae.pgaas Change-Id: Ieef6b600f4cbb0bf4ee3910c1bfc6b36773cd2d2 Signed-off-by: lj1412 --- .../src/stage/opt/app/postgresql-config/lib/profile.additions | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 postgresql-config/src/stage/opt/app/postgresql-config/lib/profile.additions (limited to 'postgresql-config/src/stage/opt/app/postgresql-config/lib/profile.additions') 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 new file mode 100644 index 0000000..3ee8128 --- /dev/null +++ b/postgresql-config/src/stage/opt/app/postgresql-config/lib/profile.additions @@ -0,0 +1,6 @@ + +if [ -d /opt/app/postgresql-9.5.2 ] +then PGDIR=/opt/app/postgresql-9.5.2 +else PGDIR=/usr/lib/postgresql/9.5 +fi +export PATH="$PGDIR/bin:/opt/app/cdf/bin:/opt/app/pgaas/bin:/opt/app/postgresql-prep/bin:$PATH" -- cgit 1.2.3-korg