Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 342154 Details for
Bug 461736
dev-db/postgresql-server-9.2.3-r1 uses incorrect paths for the datadir/config files when ROOT is not /
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
bug.461736.patch
file_461736.txt (text/plain), 798 bytes, created by
Tom Wijsman (TomWij) (RETIRED)
on 2013-03-15 18:58:01 UTC
(
hide
)
Description:
bug.461736.patch
Filename:
MIME Type:
Creator:
Tom Wijsman (TomWij) (RETIRED)
Created:
2013-03-15 18:58:01 UTC
Size:
798 bytes
patch
obsolete
>diff --git a/dev-db/postgresql-server/postgresql-server-9.2.3-r1.ebuild b/dev-db/postgresql-server/postgresql-server-9.2.3-r1.ebuild >index ff9df97..3b23836 100644 >--- a/dev-db/postgresql-server/postgresql-server-9.2.3-r1.ebuild >+++ b/dev-db/postgresql-server/postgresql-server-9.2.3-r1.ebuild >@@ -197,6 +197,12 @@ pkg_postrm() { > > pkg_config() { > [[ -f "${EROOT%/}/etc/conf.d/postgresql-${SLOT}" ]] && source "${EROOT%/}/etc/conf.d/postgresql-${SLOT}" >+ if [ "${PGDATA}" != "" ]; then >+ PGDATA="${EROOT%/}${PGDATA}" >+ fi >+ if [ "${DATA_DIR}" != "" ]; then >+ DATA_DIR="${EROOT%/}${DATA_DIR}" >+ fi > [[ -z "${PGDATA}" ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/" > [[ -z "${DATA_DIR}" ]] && DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 461736
: 342154