mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Do not run the post-installer through a shell
This commit is contained in:
parent
27e4bd5b81
commit
b44951a46c
@ -660,7 +660,7 @@ def run_installer(install_dir, isolated, bin_dir, share_dir):
|
|||||||
pi.extend(['--bindir', bin_dir])
|
pi.extend(['--bindir', bin_dir])
|
||||||
if share_dir is not None:
|
if share_dir is not None:
|
||||||
pi.extend(['--sharedir', share_dir])
|
pi.extend(['--sharedir', share_dir])
|
||||||
subprocess.call(pi, shell=len(pi) == 1)
|
subprocess.call(pi)
|
||||||
prints('Run "calibre" to start calibre')
|
prints('Run "calibre" to start calibre')
|
||||||
else:
|
else:
|
||||||
prints('Run "%s/calibre" to start calibre' % destdir)
|
prints('Run "%s/calibre" to start calibre' % destdir)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user