--- postgresql-7.2.1-r1.ebuild Mon Jul 15 07:51:28 2002 +++ postgresql-7.2.1-r2.ebuild Tue Jul 16 16:44:53 2002 @@ -170,7 +170,7 @@ 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 }