mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -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):
|
if os.path.exists(dest):
|
||||||
shutil.rmtree(dest)
|
shutil.rmtree(dest)
|
||||||
shutil.copytree(self.SRC, 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
|
dest = self.resources
|
||||||
if os.path.exists(dest):
|
if os.path.exists(dest):
|
||||||
shutil.rmtree(dest)
|
shutil.rmtree(dest)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user