summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorRyan Phillips <rphillips@gentoo.org>2002-07-16 19:48:44 +0000
committerRyan Phillips <rphillips@gentoo.org>2002-07-16 19:48:44 +0000
commitdf0079aa12e7f9c3bb15205fc1390d178e062016 (patch)
tree37dac98cfbeeb4948610d7af530ca7dcac23e9bc /dev-db
parentChange order in Changelog and in ebuild (diff)
downloadhistorical-df0079aa12e7f9c3bb15205fc1390d178e062016.tar.gz
historical-df0079aa12e7f9c3bb15205fc1390d178e062016.tar.bz2
historical-df0079aa12e7f9c3bb15205fc1390d178e062016.zip
Fixed command linen option
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/postgresql/postgresql-7.2.1-r1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-db/postgresql/postgresql-7.2.1-r1.ebuild b/dev-db/postgresql/postgresql-7.2.1-r1.ebuild
index 149492c84334..564f4a1a142a 100644
--- a/dev-db/postgresql/postgresql-7.2.1-r1.ebuild
+++ b/dev-db/postgresql/postgresql-7.2.1-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Geert Bevin <gbevin@theleaf.be>
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.2.1-r1.ebuild,v 1.10 2002/07/15 05:35:00 rphillips Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.2.1-r1.ebuild,v 1.11 2002/07/16 19:48:44 rphillips Exp $
S=${WORKDIR}/${P}
DESCRIPTION="PostgreSQL is a sophisticated Object-Relational DBMS"
@@ -170,7 +170,7 @@ pkg_config() {
echo -n "A postgres data directory already exists from version "; cat /var/lib/postgresql/data/PG_VERSION
echo "Read the documentation to check how to upgrade to version ${PV}."
else
- sudo postgres /usr/bin/initdb --pgdata /var/lib/postgresql/data
+ sudo -u postgres /usr/bin/initdb --pgdata /var/lib/postgresql/data
fi
}