gforge-commits
[Top][All Lists]
Advanced

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

[Gforge-commits] gforge/deb-specific db-upgrade.pl,1.66,1.67


From: cbayle
Subject: [Gforge-commits] gforge/deb-specific db-upgrade.pl,1.66,1.67
Date: Sat, 11 Dec 2004 16:36:41 -0600

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

Modified Files:
        db-upgrade.pl 
Log Message:
Invert 2 scripts


Index: db-upgrade.pl
===================================================================
RCS file: /cvsroot/gforge/gforge/deb-specific/db-upgrade.pl,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- db-upgrade.pl       27 Nov 2004 22:43:12 -0000      1.66
+++ db-upgrade.pl       11 Dec 2004 22:36:38 -0000      1.67
@@ -1614,11 +1614,11 @@
     }
 
     $version = &get_db_version ;
-    $target = "3.3.0-2+3" ;
+    $target = "3.3.0-2+4" ;
     if (&is_lesser ($version, $target)) {
-        &debug ("Upgrading with 20041001.sql") ;
+        &debug ("Upgrading with 20040914.sql") ;
 
-        @reqlist = @{ &parse_sql_file ("/usr/lib/gforge/db/20041001.sql") } ;
+        @reqlist = @{ &parse_sql_file ("/usr/lib/gforge/db/20040914.sql") } ;
         foreach my $s (@reqlist) {
             $query = $s ;
             # debug $query ;
@@ -1634,11 +1634,11 @@
     }
 
     $version = &get_db_version ;
-    $target = "3.3.0-2+4" ;
+    $target = "3.3.0-2+4+1" ;
     if (&is_lesser ($version, $target)) {
-        &debug ("Upgrading with 20040914.sql") ;
+        &debug ("Upgrading with 20041001.sql") ;
 
-        @reqlist = @{ &parse_sql_file ("/usr/lib/gforge/db/20040914.sql") } ;
+        @reqlist = @{ &parse_sql_file ("/usr/lib/gforge/db/20041001.sql") } ;
         foreach my $s (@reqlist) {
             $query = $s ;
             # debug $query ;





reply via email to

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