summaryrefslogtreecommitdiff
path: root/libre/calibre/0004-Disable-update-check-by-default.patch
diff options
context:
space:
mode:
authorJesús Eduardo <heckyel@openmailbox.org>2017-06-16 23:22:55 +0000
committerJesús Eduardo <heckyel@openmailbox.org>2017-06-16 23:22:55 +0000
commit1b515cc38eec3a9009c8cc93bf130007ada3f07d (patch)
treedee5720973f6cf223843096a69924f66d9a137d1 /libre/calibre/0004-Disable-update-check-by-default.patch
parentc5b5d531aab63d7c2b8088d4e46fe8cfc3829e74 (diff)
downloadabslibre-1b515cc38eec3a9009c8cc93bf130007ada3f07d.tar.gz
abslibre-1b515cc38eec3a9009c8cc93bf130007ada3f07d.tar.bz2
abslibre-1b515cc38eec3a9009c8cc93bf130007ada3f07d.zip
update and patch of calibre 3.0.0
Diffstat (limited to 'libre/calibre/0004-Disable-update-check-by-default.patch')
-rw-r--r--libre/calibre/0004-Disable-update-check-by-default.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/libre/calibre/0004-Disable-update-check-by-default.patch b/libre/calibre/0004-Disable-update-check-by-default.patch
new file mode 100644
index 000000000..14678bc12
--- /dev/null
+++ b/libre/calibre/0004-Disable-update-check-by-default.patch
@@ -0,0 +1,15 @@
+diff --git a/src/calibre/gui2/main.py b/src/calibre/gui2/main.py
+index cf8ce58..255741f 100644
+--- a/src/calibre/gui2/main.py
++++ b/src/calibre/gui2/main.py
+@@ -49,8 +49,8 @@ path_to_ebook to the database.
+ help=_('Start minimized to system tray.'))
+ parser.add_option('-v', '--verbose', default=0, action='count',
+ help=_('Ignored, do not use. Present only for legacy reasons'))
+- parser.add_option('--no-update-check', default=False, action='store_true',
+- help=_('Do not check for updates'))
++ parser.add_option('--update-check', dest='no_update_check', default=True, action='store_false',
++ help=_('Check for updates'))
+ parser.add_option('--ignore-plugins', default=False, action='store_true',
+ help=_('Ignore custom plugins, useful if you installed a plugin'
+ ' that is preventing calibre from starting'))