IGN:Remove not-needed files that were being installed to /usr/lib/calibre by the install command

This commit is contained in:
Kovid Goyal 2009-09-17 17:20:30 -06:00
parent 58f919fece
commit 5319fac2a9

View File

@ -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)