From e0d5a021dd58075acaa0ee5796b753f1a6a26cb6 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 1 Feb 2019 13:38:48 +0530 Subject: [PATCH] Fix #1812891 [calibre-3.38.1 tries to download mathjax during build](https://bugs.launchpad.net/calibre/+bug/1812891) again --- setup/mathjax.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup/mathjax.py b/setup/mathjax.py index a0ac198d8e..2efbd98b2c 100644 --- a/setup/mathjax.py +++ b/setup/mathjax.py @@ -78,6 +78,7 @@ class MathJax(Command): def run(self, opts): if not opts.system_mathjax and self.already_present(): self.info('MathJax already present in the resources directory, not downloading') + return self.use_symlinks = opts.system_mathjax self.h = sha1() self.mathjax_files = {}