diff options
author | Clive Lin <clive@FreeBSD.org> | 2001-03-15 07:23:08 +0000 |
---|---|---|
committer | Clive Lin <clive@FreeBSD.org> | 2001-03-15 07:23:08 +0000 |
commit | 429d8d4a8862eebc560d47df2314cf48c25f1ac6 (patch) | |
tree | 88df9b4de8e8d165e31ae97b31b1dafdfb2fc242 /databases/postgresql91-server/pkg-install | |
parent | a60b73e9666be2e56abc955505cd9cdf7a5625d7 (diff) | |
download | ports-429d8d4a8862eebc560d47df2314cf48c25f1ac6.tar.gz ports-429d8d4a8862eebc560d47df2314cf48c25f1ac6.zip |
Notes
Diffstat (limited to 'databases/postgresql91-server/pkg-install')
-rw-r--r-- | databases/postgresql91-server/pkg-install | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/databases/postgresql91-server/pkg-install b/databases/postgresql91-server/pkg-install index c55c0ebb161f..edd4f36830d5 100644 --- a/databases/postgresql91-server/pkg-install +++ b/databases/postgresql91-server/pkg-install @@ -4,15 +4,13 @@ PATH=/bin:/usr/sbin -if [ -z "${DB_DIR}" ]; then - DB_DIR=${PKG_PREFIX}/pgsql/data -fi +DB_DIR=${PKG_PREFIX}/pgsql case $2 in -POST-INSTALL) +PRE-INSTALL) USER=pgsql GROUP=${USER} - UID=89 + UID=70 GID=${UID} if pw group show "${GROUP}" 2>/dev/null; then @@ -39,6 +37,6 @@ POST-INSTALL) fi fi - chown -R ${USER}.${GROUP} ${DB_DIR} ;; + esac |