summaryrefslogtreecommitdiffstats
path: root/office/calibre/patches
diff options
context:
space:
mode:
author Larry Hajali2016-08-15 08:36:01 +0200
committer Willy Sudiarto Raharjo2016-08-20 02:51:32 +0200
commit2366720739588198761c04e410706110100322b1 (patch)
treecbe5de60fdb978602f2722799153a87888af8e29 /office/calibre/patches
parentd75f24e6f741be9264a5dcce2176a45653722bee (diff)
downloadslackbuilds-2366720739588198761c04e410706110100322b1.tar.gz
office/calibre: Updated for version 2.64.0
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
Diffstat (limited to 'office/calibre/patches')
-rw-r--r--office/calibre/patches/calibre-module-fix.patch6
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)