mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
IGN:Remove not-needed files that were being installed to /usr/lib/calibre by the install command
This commit is contained in:
parent
58f919fece
commit
5319fac2a9
@ -166,6 +166,11 @@ class Install(Develop):
|
||||
if os.path.exists(dest):
|
||||
shutil.rmtree(dest)
|
||||
shutil.copytree(self.SRC, dest)
|
||||
for x in ('calibre/manual', 'calibre/trac',
|
||||
'calibre/ebooks/lrf/html/demo'):
|
||||
x = self.j(dest, x)
|
||||
if os.path.exists(dest):
|
||||
shutil.rmtree(x)
|
||||
dest = self.resources
|
||||
if os.path.exists(dest):
|
||||
shutil.rmtree(dest)
|
||||
|
Loading…
x
Reference in New Issue
Block a user