savannah-cvs
[Top][All Lists]
Advanced

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

[Savannah-cvs] administration/infra/savane/bin sv_groups


From: Elfyn McBratney
Subject: [Savannah-cvs] administration/infra/savane/bin sv_groups
Date: Mon, 13 Sep 2004 21:00:30 -0400

CVSROOT:        /cvsroot/administration
Module name:    administration
Branch:         
Changes by:     Elfyn McBratney <address@hidden>        04/09/14 00:55:21

Modified files:
        infra/savane/bin: sv_groups 

Log message:
        only work on the administration project, while testing..

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/administration/administration/infra/savane/bin/sv_groups.diff?tr1=1.1&tr2=1.2&r1=text&r2=text

Patches:
Index: administration/infra/savane/bin/sv_groups
diff -u administration/infra/savane/bin/sv_groups:1.1 
administration/infra/savane/bin/sv_groups:1.2
--- administration/infra/savane/bin/sv_groups:1.1       Tue Sep 14 00:38:35 2004
+++ administration/infra/savane/bin/sv_groups   Tue Sep 14 00:55:21 2004
@@ -2,7 +2,7 @@
 # This file is part of the Savane project
 # <http://gna.org/projects/savane/>
 #
-# $Id: sv_groups,v 1.1 2004/09/14 00:38:35 beu Exp $
+# $Id: sv_groups,v 1.2 2004/09/14 00:55:21 beu Exp $
 #
 #  Copyright 2001 (c) Loic Dachary <address@hidden> (sv_cvs.pl)
 #            2003 (c) Mathieu Roy <address@hidden> 
@@ -520,7 +520,9 @@
 # Update existing groups, including the ones just created
 # These users are in the database and on the system.
 
-foreach my $group (@db_groups) {
+# for now, only update the group administration, while testing
+#foreach my $group (@db_groups) {
+foreach my $group ('administration') {
     # If we run in no etc mode, we cannot handle group missing on the system 
     my ($exists) = getgrnam($group);
 
@@ -642,7 +644,9 @@
                    print "DBG db: delete member $group_id $user\n" if $debug;
                }
                
-               if ($changed_group || $www_membership_changed ) {
+               # for now, we regen no matter what..
+               #if ($changed_group || $www_membership_changed ) {
+               if (1) {
                    if ($debug) {
                        print "DBG db: group changed $name ($changed_group 
$www_membership_changed)\n" if $debug;
                    }




reply via email to

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