gforge-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gforge-commits] gforge/deb-specific install-db.sh,1.30,1.31


From: cbayle
Subject: [Gforge-commits] gforge/deb-specific install-db.sh,1.30,1.31
Date: Sun, 28 Mar 2004 13:48:35 -0600

Update of /cvsroot/gforge/gforge/deb-specific
In directory db.perdue.net:/tmp/cvs-serv7638/deb-specific

Modified Files:
        install-db.sh 
Log Message:
Don't require passwd to update db


Index: install-db.sh
===================================================================
RCS file: /cvsroot/gforge/gforge/deb-specific/install-db.sh,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- install-db.sh       20 Jan 2004 23:49:28 -0000      1.30
+++ install-db.sh       28 Mar 2004 19:48:33 -0000      1.31
@@ -179,7 +179,7 @@
        
        # Install/upgrade the database contents (tables and data)
        kill -HUP $(head -1 /var/lib/postgres/data/postmaster.pid)
-       /usr/lib/gforge/bin/db-upgrade.pl 2>&1  | grep -v ^NOTICE:
+       su -s /bin/sh gforge -c /usr/lib/gforge/bin/db-upgrade.pl 2>&1  | grep 
-v ^NOTICE:
        p=${PIPESTATUS[0]}
        if [ $p != 0 ] ; then
            exit $p





reply via email to

[Prev in Thread] Current Thread [Next in Thread]