linterna-magica-commit
[Top][All Lists]
Advanced

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

[linterna-magica-commit] [18] Versions build from SVN trunk should not c


From: Ivaylo Valkov
Subject: [linterna-magica-commit] [18] Versions build from SVN trunk should not check for updates.
Date: Mon, 21 Mar 2011 08:28:46 +0000

Revision: 18
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=linterna-magica&revision=18
Author:   valkov
Date:     2011-03-21 08:28:45 +0000 (Mon, 21 Mar 2011)
Log Message:
-----------
Versions build from SVN trunk should not check for updates.

Modified Paths:
--------------
    trunk/src/lm_check_for_updates.js

Modified: trunk/src/lm_check_for_updates.js
===================================================================
--- trunk/src/lm_check_for_updates.js   2011-03-20 16:50:33 UTC (rev 17)
+++ trunk/src/lm_check_for_updates.js   2011-03-21 08:28:45 UTC (rev 18)
@@ -30,7 +30,9 @@
 LinternaMagica.prototype.check_for_updates = function()
 {
     // Configured to not update
-    if (this.updates == -1)
+    // or the build is from SVN
+    if (this.updates == -1 || 
+       /svn/i.test(this.version))
     {
        return  null;
     }




reply via email to

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