summarylogtreecommitdiffstats
path: root/0004-Disable-auto-updates.patch
diff options
context:
space:
mode:
authorMartin Dünkelmann2020-12-07 15:26:47 +0100
committerMartin Dünkelmann2020-12-07 18:17:39 +0100
commit795b3f63ca9aff9e7079f7261a5c0c981866147f (patch)
treeb4cd15e70448999417cf69397959938516624aae /0004-Disable-auto-updates.patch
parent3f2c554163e9cc9570833c513b6088250dccb1d2 (diff)
downloadaur-795b3f63ca9aff9e7079f7261a5c0c981866147f.tar.gz
Sync with https://www.archlinux.org/packages/community/x86_64/anki/
Fix build & installation
Diffstat (limited to '0004-Disable-auto-updates.patch')
-rw-r--r--0004-Disable-auto-updates.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/0004-Disable-auto-updates.patch b/0004-Disable-auto-updates.patch
new file mode 100644
index 000000000000..d2c14c44d5ac
--- /dev/null
+++ b/0004-Disable-auto-updates.patch
@@ -0,0 +1,29 @@
+From bd0d5b6fde2ff0d3ca2fe8a6bdf59ce6e0fa1058 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Johannes=20L=C3=B6thberg?= <johannes@kyriasis.com>
+Date: Mon, 4 May 2020 17:57:29 +0200
+Subject: [PATCH 4/5] Disable auto updates
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
+---
+ qt/aqt/update.py | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/qt/aqt/update.py b/qt/aqt/update.py
+index 8b179f65..a46618b8 100644
+--- a/qt/aqt/update.py
++++ b/qt/aqt/update.py
+@@ -33,6 +33,8 @@ class LatestVersionFinder(QThread):
+ }
+
+ def run(self):
++ return
++
+ if not self.config["updates"]:
+ return
+ d = self._data()
+--
+2.29.2
+