summaryrefslogtreecommitdiff
path: root/databases/postgresql91-server/pkg-plist
diff options
context:
space:
mode:
authorClive Lin <clive@FreeBSD.org>2001-03-15 07:23:08 +0000
committerClive Lin <clive@FreeBSD.org>2001-03-15 07:23:08 +0000
commit429d8d4a8862eebc560d47df2314cf48c25f1ac6 (patch)
tree88df9b4de8e8d165e31ae97b31b1dafdfb2fc242 /databases/postgresql91-server/pkg-plist
parentfix non-interactive build and pkg-plist (diff)
Fix problems when installing postgresql7 with pkg_add:
- pkg-install used wrong uid# - chown lib dir *after* it is created - pkg-install created data dir where Makefile didn't - add pkg-deinstall and remove user & group - don't chown data dir, since we don't create it anymore - spell and documentation fixes in the rc.d script PR: ports/25817 Submitted by: MAINTAINER
Diffstat (limited to 'databases/postgresql91-server/pkg-plist')
-rw-r--r--databases/postgresql91-server/pkg-plist3
1 files changed, 2 insertions, 1 deletions
diff --git a/databases/postgresql91-server/pkg-plist b/databases/postgresql91-server/pkg-plist
index fd2bd41937f1..4cf31ebc5bc6 100644
--- a/databases/postgresql91-server/pkg-plist
+++ b/databases/postgresql91-server/pkg-plist
@@ -55,7 +55,6 @@ pgsql/include/utils/elog.h
pgsql/include/utils/geo_decls.h
pgsql/include/utils/mcxt.h
pgsql/include/utils/palloc.h
-@exec chown root:wheel %D/pgsql/lib
pgsql/lib/global1.bki.source
pgsql/lib/global1.description
pgsql/lib/libecpg.a
@@ -78,6 +77,7 @@ pgsql/lib/pg_ident.conf.sample
pgsql/lib/pg_options.sample
pgsql/lib/plpgsql.so
pgsql/lib/postmaster.opts.default.sample
+@exec chown -R root:wheel %D/pgsql/lib
pgsql/post-install-notes
@dirrm pgsql/bin
@dirrm pgsql/include/access
@@ -92,4 +92,5 @@ pgsql/post-install-notes
@dirrm pgsql/man/man1
@dirrm pgsql/man/manl
@dirrm pgsql/man
+@unexec rmdir %D/pgsql/data 2>/dev/null || true
@unexec rmdir %D/pgsql 2>/dev/null || true