summaryrefslogtreecommitdiff
path: root/databases/postgresql91-server/pkg-install
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2001-04-21 11:34:34 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2001-04-21 11:34:34 +0000
commitbfb9f8e6c93b2c638014779f1429d726c35e4e69 (patch)
tree93cdf5d5b46d48a1b57091ae3f53e526c137eda6 /databases/postgresql91-server/pkg-install
parentUpgrade to 3.23.37. (diff)
Upgrade to 7.1, change to new layout style.
PR: ports/26741 Submitted by: maintainer
Diffstat (limited to 'databases/postgresql91-server/pkg-install')
-rw-r--r--databases/postgresql91-server/pkg-install4
1 files changed, 4 insertions, 0 deletions
diff --git a/databases/postgresql91-server/pkg-install b/databases/postgresql91-server/pkg-install
index edd4f36830d5..cfc983fc2f66 100644
--- a/databases/postgresql91-server/pkg-install
+++ b/databases/postgresql91-server/pkg-install
@@ -37,6 +37,10 @@ PRE-INSTALL)
fi
fi
+ if ! [ -x ~pgsql ] ; then
+ mkdir -p ${DB_DIR}
+ chown pgsql:pgsql ${DB_DIR}
+ fi
;;
esac