summaryrefslogtreecommitdiffstats
path: root/databases/postgresql7/pkg-install
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql7/pkg-install')
-rw-r--r--databases/postgresql7/pkg-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/postgresql7/pkg-install b/databases/postgresql7/pkg-install
index 012699f..7f3a090 100644
--- a/databases/postgresql7/pkg-install
+++ b/databases/postgresql7/pkg-install
@@ -5,7 +5,7 @@
PATH=/bin:/usr/sbin
if [ -z "${DB_DIR}" ]; then
- DB_DIR=/usr/local/pgsql/data
+ DB_DIR=${PKG_PREFIX}/pgsql/data
fi
case $2 in
OpenPOWER on IntegriCloud