summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc>1998-02-17 15:44:32 +0000
committeragc <agc>1998-02-17 15:44:32 +0000
commit563b609d1a684266e159d5e02244ab336c0a2a0e (patch)
tree5348c2aeabe32a563fe03a9d9fe7197a92e1ebb2
parent721d0628ee360c9d9e32990e46e30cc376e29a1f (diff)
downloadpkgsrc-563b609d1a684266e159d5e02244ab336c0a2a0e.tar.gz
The correct definition for the database directory is PGDATA, not PG_DATA.
-rw-r--r--databases/postgresql/patches/patch-ab11
1 files changed, 10 insertions, 1 deletions
diff --git a/databases/postgresql/patches/patch-ab b/databases/postgresql/patches/patch-ab
index bbb6c6edc66..13eb0d7d493 100644
--- a/databases/postgresql/patches/patch-ab
+++ b/databases/postgresql/patches/patch-ab
@@ -1,6 +1,15 @@
--- bin/initdb/initdb.sh.orig Wed Apr 2 07:09:13 1997
+++ bin/initdb/initdb.sh Wed Apr 2 07:09:33 1997
-@@ -344,6 +344,5 @@
+@@ -289,7 +289,7 @@
+ #----------------------------------------------------------------------------
+
+ if [ $template_only -eq 0 ]; then
+- echo "Creating global classes in $PG_DATA/base"
++ echo "Creating global classes in $PGDATA/base"
+ echo "Running: postgres $BACKENDARGS template1"
+
+ cat $GLOBAL \
+@@ -346,6 +346,5 @@
if [ $debug -eq 0 ]; then
echo "vacuuming template1"