[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#392359: tex-common: Please provide dh_installtex functions for packages that need only mktexlsr



Norbert Preining <preining@logic.at> wrote:

>> The script would then detect in which TEXMF trees files are installed in
>> the temporary directory and call mktexlsr only for these.  It should
>
> Ok, this would be nice. And it could be implemented in the general case,
> no? If we do it in the right order maybe also the calls to mktexlsr in
> the other packages (with maps etc) only updated the right trees.

Beware. First, this kind of optimization would bring very small gains in
my setup. Second, it's dangerous: if you only refresh ls-R files for
TEXMF trees where files are installed by the *latest* version of the
package, you'll miss the necessary refreshing of TEXMF trees containing
files from the *previous* version of the package. For instance, if the
previous version shipped a file in some TEXMF tree and the current
version puts the same file in another TEXMF tree, then the kind of
optimization mentioned above will lead to the ls-R files for *both*
TEXMF trees to reference the file, whereas only one of them actually
contains it.

-- 
Florent



Reply to: