mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 00:24:09 +02:00
install: don't create calibre-uninstall for staged installs
The uninstaller is only meant to be used on systems where calibre is being installed live. For staged installs, it can be assumed that the same mechanism which takes care of installing files from the staging dir to live systems, is also able to remove calibre when desired. Usually this will be a linux package manager.
This commit is contained in:
parent
adcc2c5539
commit
121a5acad0
1 changed files with 2 additions and 1 deletions
|
|
@ -723,7 +723,8 @@ def __init__(self, opts, info=prints, warn=None, manifest=None):
|
|||
self.setup_completion()
|
||||
if islinux or isbsd:
|
||||
self.setup_desktop_integration()
|
||||
self.create_uninstaller()
|
||||
if not getattr(self.opts, 'staged_install', False):
|
||||
self.create_uninstaller()
|
||||
|
||||
from calibre.utils.config import config_dir
|
||||
if os.path.exists(config_dir):
|
||||
|
|
|
|||
Loading…
Reference in a new issue