unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 1d8d79660e7d677f0e0c2d87af755097efebdb9a 1059 bytes (raw)
name: packages/patches/calibre-no-updates-dialog.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
 
Taken from debian.

# Description: Disable update check by default.
Index: calibre/src/calibre/gui2/main.py
===================================================================
--- calibre.orig/src/calibre/gui2/main.py	2014-02-02 10:41:28.470954623 +0100
+++ calibre/src/calibre/gui2/main.py	2014-02-02 10:41:56.546954247 +0100
@@ -37,8 +37,8 @@
                       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'))

debug log:

solving 1d8d79660e7d677f0e0c2d87af755097efebdb9a ...
found 1d8d79660e7d677f0e0c2d87af755097efebdb9a in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).