diff options
author | Larry Hajali <larryhaja@gmail.com> | 2016-08-14 23:36:01 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-08-20 07:51:32 +0700 |
commit | 2366720739588198761c04e410706110100322b1 (patch) | |
tree | cbe5de60fdb978602f2722799153a87888af8e29 /office/calibre/patches/calibre-module-fix.patch | |
parent | d75f24e6f741be9264a5dcce2176a45653722bee (diff) | |
download | slackbuilds-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/calibre-module-fix.patch')
-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) |