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