[arch-commits] Commit in postgresql/trunk (postgresql)

Dan McGee dan at archlinux.org
Wed Dec 29 21:43:21 UTC 2010


    Date: Wednesday, December 29, 2010 @ 16:43:21
  Author: dan
Revision: 104146

Updates from FS#22229

Modified:
  postgresql/trunk/postgresql

------------+
 postgresql |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: postgresql
===================================================================
--- postgresql	2010-12-29 16:49:05 UTC (rev 104145)
+++ postgresql	2010-12-29 21:43:21 UTC (rev 104146)
@@ -16,11 +16,11 @@
     if [ ! `egrep '^postgres:' /etc/passwd` ]; then
       stat_busy "Adding postgres user"
       useradd -u 88 -g postgres -d $PGROOT -s /bin/bash postgres
-      [ -d $PGROOT ] && chown -R postgres.postgres $PGROOT
+      [ -d $PGROOT ] && chown -R postgres:postgres $PGROOT
       stat_done
     fi
     if [ ! -d $PGROOT/data ]; then
-      mkdir -p $PGROOT/data && chown -R postgres.postgres $PGROOT/data
+      mkdir -p $PGROOT/data && chown -R postgres:postgres $PGROOT
       su - postgres -c "/usr/bin/initdb $INITOPTS -D $PGROOT/data"
     fi
     if [ ! -e /var/log/postgresql.log ]; then




More information about the arch-commits mailing list