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

Re: Policy, updmap --enable and updmap.cfg in /etc or /var



Florent Rougon <f.rougon@free.fr> wrote:

> The main problem that I have noticed is that when upgrading from a
> pre-ucf lmodern (i.e., <= 0.92-3) to the new package, if the admin had
> previously deleted /etc/texmf/updmap.d/10lmodern.cfg, ucf will happily
> recreate it when it is run from lmodern.postinst, destroying the user
> configuration (that is, the deletion of the file).

After discussing this with Manoj, it seems that the best solution to
this problem is to avoid running ucf in postinst when:
 1. we are upgrading from a pre-ucf version of lmodern and;
 2. /etc/texmf/updmap.d/10lmodern.cfg has been deleted.

This is what I have implemented in version 0.92-5, which is also
available at:

  deb http://people.via.ecp.fr/~flo/debian sid/binary-all/
  deb-src http://people.via.ecp.fr/~flo/debian sid/source/

and passed all my tests.

(you have to use ucf 1.12 from http://incoming.debian.org/ if you want
to try it)

-- 
Florent



Reply to: