summary refs log tree commit diff
path: root/pkgs/games/anki/no-version-check.patch
blob: ce166b4b87d53e53ee56188b9e11f36258a7e6ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -Nurp anki-2.0.33.orig/aqt/main.py anki-2.0.33/aqt/main.py
--- anki-2.0.33.orig/aqt/main.py	2016-01-05 21:37:53.904533750 +0100
+++ anki-2.0.33/aqt/main.py	2016-01-05 21:39:11.469175976 +0100
@@ -820,6 +820,9 @@ title="%s">%s</button>''' % (
     ##########################################################################
 
     def setupAutoUpdate(self):
+        # Don't check for latest version since the versions are
+        # managed in Nixpkgs.
+        return
         import aqt.update
         self.autoUpdate = aqt.update.LatestVersionFinder(self)
         self.connect(self.autoUpdate, SIGNAL("newVerAvail"), self.newVerAvail)