Commit 89b55b7d authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

debian: another mathjax regex

* debian/rules: mathjax is also fetched from cdnjs.cloudflare.com.
parent a455a277
...@@ -114,4 +114,5 @@ override_dh_compress: ...@@ -114,4 +114,5 @@ override_dh_compress:
fix-js: fix-js:
perl -pi -e 's|http://orgmode.org/mathjax/MathJax.js|file:///usr/share/javascript/mathjax/MathJax.js|' doc/userdoc/*.html perl -pi -e 's|http://orgmode.org/mathjax/MathJax.js|file:///usr/share/javascript/mathjax/MathJax.js|' doc/userdoc/*.html
perl -pi -e 's|https://cdn.mathjax.org/mathjax/.*/MathJax.js|file:///usr/share/javascript/mathjax/MathJax.js|' tests/python/*.html perl -pi -e 's|https://cdn.mathjax.org/mathjax/.*/MathJax.js|file:///usr/share/javascript/mathjax/MathJax.js|' tests/python/*.html
perl -pi -e 's|https://cdnjs.cloudflare.com/ajax/libs/mathjax/.*/mathjax.js|file:///usr/share/javascript/mathjax/MathJax.js|' tests/python/*.html
perl -pi -e 's|https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js|file:///usr/share/javascript/jquery/jquery.min.js|' tests/python/*.html perl -pi -e 's|https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js|file:///usr/share/javascript/jquery/jquery.min.js|' tests/python/*.html
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment