diff options
Diffstat (limited to 'dev-db/postgresql-server/postgresql-server-8.0.15.ebuild')
-rw-r--r-- | dev-db/postgresql-server/postgresql-server-8.0.15.ebuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dev-db/postgresql-server/postgresql-server-8.0.15.ebuild b/dev-db/postgresql-server/postgresql-server-8.0.15.ebuild index 2808b0c..c4ffdac 100644 --- a/dev-db/postgresql-server/postgresql-server-8.0.15.ebuild +++ b/dev-db/postgresql-server/postgresql-server-8.0.15.ebuild @@ -98,8 +98,8 @@ src_install() { dodoc README HISTORY doc/{README.*,TODO,bug.template} - dodir /usr/$(get_libdir)/eselect-postgresql/slots/${SLOT} - cat >"${D}/usr/$(get_libdir)/eselect-postgresql/slots/${SLOT}/service" <<-__EOF__ + dodir /etc/eselect/postgresql/slots/${SLOT} + cat >"${D}/etc/eselect/postgresql/slots/${SLOT}/service" <<-__EOF__ postgres_ebuilds="\${postgres_ebuilds} ${PF}" postgres_service="postgresql-${SLOT}" __EOF__ @@ -107,7 +107,8 @@ src_install() { newinitd "${FILESDIR}/postgresql.init-${SLOT}" postgresql-${SLOT} || die "Inserting init.d-file failed" newconfd "${FILESDIR}/postgresql.conf-${SLOT}" postgresql-${SLOT} || die "Inserting conf.d-file failed" - keepdir /var/run/postgresql + # Workaround for paludis + [ -f "${ROOT}/var/run/postgresql/.keep" ] || keepdir /var/run/postgresql fperms 0770 /var/run/postgresql fowners postgres:postgres /var/run/postgresql } |