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

Bug#607857: texlive-base: don't put files under /usr/local (proposed patch)



On 25.12.10 Norbert Preining (preining@logic.at) wrote:

Hi,

> By default, the TeX filename database is also rebuilt (with mktexlsr).
> ...
>   --nohash                  do not run texhash
> ...
> 
> Sooooooooooooo ... what is the solution? The simple idea would be to
> call updmap-sys --nohash, but on initial installations that might lead
> to problems as the psfonts.map etc file generated by updmap might
> not be present *before* the run.
> 
I hade a short look: texhash is only called one time shortly before
the end of the mkMaps function, which is only called one time at the
end of the main function. This means the updmap script itself does
not need an ls-R db update during the run, it just has to mek sure
the new map files are known to the system after they were created.

Hence we can replace the updmap-sys call by

updmap-sys --nohash
mktexlsr /usr/share/texmf /var/lib/texmf /usr/share/texmf-texlive

Perhaps make an own bash function for it.

H.
-- 
sigmentation fault

Attachment: signature.asc
Description: Digital signature


Reply to: