On Thu, 06 Mar 2014 19:00:09 +0100, Julian Taylor wrote: > replacing a directory with a symlink is problematic as dpkg has special > rules for handling symlinks which can cause all kinds of upgrade issues. > The most common ones are files disappearing (see the plentora of missing > copyright bugs due to symlinking -doc packages) or unpack errors due to > ordering issues in the tarballs. > > For this reason dh_linktree exists, please use that instead. > Another approach is to modify the path the webserver serves from, thats > what I do in IPython.
I see two disadvantages in this approach: - First, as Sebastian mentioned, “30k-ish symlinks is just too much for a documentation displaying one or two formulas”. - Then, set of MathJax files changes with each release, so we will have to rebuild all such packages with every new MathJax release (otherwise some symlinks will be broken or missing). The problem with replacing a directory with symlink can be easily solved by adding a preinst script to the package. -- Dmitry Shachnev
signature.asc
Description: OpenPGP digital signature