diff options
Diffstat (limited to 'databases/postgresql73/pkg-install')
-rw-r--r-- | databases/postgresql73/pkg-install | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/databases/postgresql73/pkg-install b/databases/postgresql73/pkg-install index edd4f36830d5..cfc983fc2f66 100644 --- a/databases/postgresql73/pkg-install +++ b/databases/postgresql73/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 |