Re: Policy, updmap --enable and updmap.cfg in /etc or /var
- To: debian-tetex-maint@lists.debian.org
- Subject: Re: Policy, updmap --enable and updmap.cfg in /etc or /var
- From: Florent Rougon <f.rougon@free.fr>
- Date: Tue, 02 Nov 2004 12:59:24 +0100
- Message-id: <87oeigea1v.fsf@florent.maison>
- Mail-followup-to: debian-tetex-maint@lists.debian.org
- In-reply-to: <87fz3twawb.fsf@florent.maison> (Florent Rougon's message of "Mon, 01 Nov 2004 21:51:32 +0100")
- References: <9b31b6be04091313594083261f@mail.gmail.com> <87ekl2sakm.fsf@alhambra.bioz.unibas.ch> <9b31b6be040916170727bbeb6b@mail.gmail.com> <9b31b6be04091617087984a26b@mail.gmail.com> <20040918140312.GA12371@preusse-16223.user.cis.dfn.de> <9b31b6be04091903292c9d2be8@mail.gmail.com> <87hdpuma3y.fsf@alhambra.bioz.unibas.ch> <877jqluh1y.fsf@alhambra.bioz.unibas.ch> <20040924083844.GB1740@preusse> <87mzzgvx7e.fsf@alhambra.bioz.unibas.ch> <20040924123029.GA1668@preusse> <87wtyjdc51.fsf@alhambra.bioz.unibas.ch> <87d60bd9ou.fsf_-_@alhambra.bioz.unibas.ch> <87mzz8df4b.fsf@florent.maison> <87u0tfj31q.fsf@alhambra.bioz.unibas.ch> <87is9vfnnk.fsf@florent.maison> <87655utzin.fsf@alhambra.bioz.unibas.ch> <87mzycvuib.fsf@florent.maison> <87fz3twawb.fsf@florent.maison>
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: