mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
3aaf5fb857
commit
d302c3d149
@ -243,7 +243,7 @@ class PostInstall:
|
|||||||
os.makedirs(os.path.dirname(f))
|
os.makedirs(os.path.dirname(f))
|
||||||
self.manifest.append(f)
|
self.manifest.append(f)
|
||||||
complete = 'calibre-complete'
|
complete = 'calibre-complete'
|
||||||
if getattr(sys, 'frozen_path'):
|
if getattr(sys, 'frozen_path', None):
|
||||||
complete = os.path.join(getattr(sys, 'frozen_path'), complete)
|
complete = os.path.join(getattr(sys, 'frozen_path'), complete)
|
||||||
|
|
||||||
self.info('Installing bash completion to', f)
|
self.info('Installing bash completion to', f)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user