diff options
Diffstat (limited to 'office/calibre/patches')
-rw-r--r-- | office/calibre/patches/calibre-module-fix.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/office/calibre/patches/calibre-module-fix.patch b/office/calibre/patches/calibre-module-fix.patch index d2288d288e..6c0ee5178b 100644 --- a/office/calibre/patches/calibre-module-fix.patch +++ b/office/calibre/patches/calibre-module-fix.patch @@ -9,6 +9,6 @@ diff -Naur calibre.orig/setup/install.py calibre/setup/install.py + libdir = s.get_python_lib(prefix=(self.opts.staging_root + sys.prefix)) + if not os.path.exists(libdir): + os.makedirs(libdir) - if os.path.exists(libdir): - path = os.path.join(libdir, 'init_calibre.py') - self.info('Installing calibre environment module: '+path) + try: + if not os.path.exists(libdir): + os.makedirs(libdir) |