mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
cc1ab7413d
In addition to bumping the version, remove a patch which made self.update_checker None. This caused errors that showed on the terminal after closing Calibre (if it was launched from a terminal).
16 lines
1002 B
Diff
16 lines
1002 B
Diff
diff -burN calibre-2.9.0.orig/src/calibre/gui2/main.py calibre-2.9.0/src/calibre/gui2/main.py
|
|
--- calibre-2.9.0.orig/src/calibre/gui2/main.py 2014-11-09 20:09:54.081231882 +0800
|
|
+++ calibre-2.9.0/src/calibre/gui2/main.py 2014-11-09 20:15:48.193033844 +0800
|
|
@@ -37,8 +37,9 @@
|
|
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'))
|