aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql82-server/files/dot.profile.in
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql82-server/files/dot.profile.in')
-rw-r--r--databases/postgresql82-server/files/dot.profile.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/databases/postgresql82-server/files/dot.profile.in b/databases/postgresql82-server/files/dot.profile.in
index 3d8ca9ac4641..4aca6aadd19a 100644
--- a/databases/postgresql82-server/files/dot.profile.in
+++ b/databases/postgresql82-server/files/dot.profile.in
@@ -1,10 +1,12 @@
-PATH=${PATH}:%%PREFIX%%/pgsql/bin
-PGLIB=%%PREFIX%%/pgsql/lib
+# both new and old layout's paths, but new path first...
+PATH=%%PREFIX%%/%%PG_PREFIX%%bin:${PATH}
+
+PGLIB=%%PREFIX%%/%%PG_PREFIX%%lib
# note: PGDATA can be overridden by the -D startup option
-PGDATA=%%PREFIX%%/pgsql/data
+PGDATA=${HOME}/data
-export PATH MANPATH PGLIB PGDATA
+export PATH PGLIB PGDATA
#You might want to set some locale stuff here
#PGDATESTYLE=ISO