File: 0001-only-plugin-update.patch

package info (click to toggle)
calibre 6.13.0%2Brepack-2%2Bdeb12u5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-proposed-updates
  • size: 1,147,768 kB
  • sloc: python: 461,364; ansic: 80,698; cpp: 18,081; javascript: 2,855; xml: 1,297; sh: 892; sql: 683; objc: 544; makefile: 71; perl: 66; sed: 6
file content (23 lines) | stat: -rw-r--r-- 706 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Norbert Preining <norbert@preining.info>
Date: Sun, 29 Dec 2019 13:31:54 +0900
Subject: allow for plugin update check, but no calibre version check

Forwarded: not-needed

allow for plugin update check, but no calibre version check
---
 src/calibre/gui2/update.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/calibre/gui2/update.py b/src/calibre/gui2/update.py
index 237f363..105fccd 100644
--- a/src/calibre/gui2/update.py
+++ b/src/calibre/gui2/update.py
@@ -33,6 +33,7 @@ def get_download_url():
 
 
 def get_newest_version():
+    return NO_CALIBRE_UPDATE
     icon_theme_name = icon_resource_manager.user_theme_name
     if icon_theme_name == 'default':
         icon_theme_name = ''