[Pkg-mozext-commits] [gcontactsync] 01/31: Issue #45: Upgrade from < 0.4.0b1 not working correctly

David Prévot taffit at moszumanska.debian.org
Sun Feb 22 21:34:30 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository gcontactsync.

commit 4074e99f6401de3b4b01e1ed5e779e28861dd0a1
Author: Josh Geenen <joshgeenen at gmail.com>
Date:   Sun Jul 27 17:30:46 2014 +0100

    Issue #45: Upgrade from < 0.4.0b1 not working correctly
---
 src/content/MessengerOverlay.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/content/MessengerOverlay.js b/src/content/MessengerOverlay.js
index a61942c..56acf08 100644
--- a/src/content/MessengerOverlay.js
+++ b/src/content/MessengerOverlay.js
@@ -105,7 +105,7 @@ com.gContactSync.MessengerOverlay = {
     var runSetupWizard = false;
     if ((lastVersionMajor === 0) && (lastVersionMinor === 0) && (lastVersionRelease === 0)) {
       runSetupWizard = true;
-    } else if (((lastVersionMajor === 0) && (lastVersionMinor < 4) && (lastVersionMajor > 0)) ||
+    } else if (((lastVersionMajor === 0) && (lastVersionMinor < 4)) ||
         ((lastVersionMajor === 0) && (lastVersionMinor === 4) && (lastVersionRelease === 0) && (lastVersionSuffix.length > 0) && (lastVersionSuffix.charAt(0) === "a"))) {
       com.gContactSync.Preferences.setSyncPref("v04UpgradeNeeded", true);
     } else if ((lastVersionMajor === 0) && (lastVersionMinor === 4) && (lastVersionRelease === 0) && (lastVersionSuffix.length > 0) && ((lastVersionSuffix.charAt(0) === "a") || (lastVersionSuffix.charAt(0) === "b"))) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/gcontactsync.git



More information about the Pkg-mozext-commits mailing list